接口 _OptimizedJsonReader
-
- 所有已知实现类:
_OptimizedJsonReaderImpl
public interface _OptimizedJsonReaderInterface for reading Json fields and values using an internal index. This allows injecting optimized Java code that reads and interprets Json without referring to Json field names and values using plain Strings.
-
-
方法详细资料
-
b
int b(com.google.gson.stream.JsonReader jsonReader) throws java.io.IOException
Reads the internal index of the next Json field from the given Json reader. The original name of this method is "nextFieldIndex". The name of this method 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.- 参数:
jsonReader- the Json reader to read from.- 返回:
- the internal index of the read field value.
- 抛出:
java.io.IOException- if the reading failed.
-
c
int c(com.google.gson.stream.JsonReader jsonReader) throws java.io.IOException
Reads the internal index of the next Json value from the given Json reader. The original name of this method is "nextValueIndex". 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.- 参数:
jsonReader- the Json reader to read from.- 返回:
- the internal index of the read field value.
- 抛出:
java.io.IOException- if the reading failed.
-
-