public class NameMappingParser
extends java.lang.Object
[ { "field-id": 1, "names": ["id", "record_id"] }, { "field-id": 2, "names": ["data"] }, { "field-id": 3, "names": ["location"], "fields": [ { "field-id": 4, "names": ["latitude", "lat"] }, { "field-id": 5, "names": ["longitude", "long"] } ] } ]
Modifier and Type | Method and Description |
---|---|
static NameMapping |
fromJson(java.lang.String json) |
static java.lang.String |
toJson(NameMapping mapping) |
public static java.lang.String toJson(NameMapping mapping)
public static NameMapping fromJson(java.lang.String json)