public static final class JsonReader.FieldMapping
extends java.lang.Object
JsonReader for a JSON object, you can use this to map
field names to a number you can switch on to efficiently locate assign a
field.| Modifier and Type | Class and Description |
|---|---|
static class |
JsonReader.FieldMapping.Builder |
| Modifier and Type | Field and Description |
|---|---|
java.util.HashMap<java.lang.String,java.lang.Integer> |
fields |
| Modifier and Type | Method and Description |
|---|---|
int |
get(java.lang.String fieldName) |