接口 _OptimizedJsonWriter
-
- 所有已知实现类:
_OptimizedJsonWriterImpl
public interface _OptimizedJsonWriter
-
-
方法概要
所有方法 实例方法 抽象方法 修饰符和类型 方法 说明 voidb(com.google.gson.stream.JsonWriter jsonWriter, int nameIndex)Writes the field name with the given internal index to the given Json writer.voidc(com.google.gson.stream.JsonWriter jsonWriter, int valueIndex)Writes the field value with the given internal index to the given Json writer.
-
-
-
方法详细资料
-
b
void b(com.google.gson.stream.JsonWriter jsonWriter, int nameIndex) throws java.io.IOExceptionWrites the field name with the given internal index to the given Json writer. The original name of this method is "name". The name of this field has already been obfuscated because it is part of an injected class. When renaming this field, the corresponding constant in OptimizedClassConstants needs to be updated accordingly.- 参数:
jsonWriter- the Json writer to write to.nameIndex- the internal index of the field name.- 抛出:
java.io.IOException- if the writing failed.
-
c
void c(com.google.gson.stream.JsonWriter jsonWriter, int valueIndex) throws java.io.IOExceptionWrites the field value with the given internal index to the given Json writer. The original name of this method is "value". The name of this method has already been obfuscated because it is part of an injected class. When renaming this method, the corresponding constant in OptimizedClassConstants needs to be updated accordingly.- 参数:
jsonWriter- the Json writer to write to.valueIndex- the internal index of the field value.- 抛出:
java.io.IOException- if the writing failed.
-
-