Modifier and Type | Field and Description |
---|---|
static com.google.common.base.Function<com.fasterxml.jackson.databind.JsonNode,Object> |
valueFunction |
Constructor and Description |
---|
JSONParser() |
JSONParser(Iterable<String> fieldNames)
Deprecated.
|
JSONParser(com.fasterxml.jackson.databind.ObjectMapper objectMapper,
Iterable<String> fieldNames) |
JSONParser(com.fasterxml.jackson.databind.ObjectMapper objectMapper,
Iterable<String> fieldNames,
Iterable<String> exclude) |
Modifier and Type | Method and Description |
---|---|
List<String> |
getFieldNames()
Returns the fieldNames that we expect to see in parsed Maps, if known, or null otherwise.
|
Map<String,Object> |
parse(String input)
Parse a String into a Map.
|
void |
setFieldNames(Iterable<String> fieldNames)
Set the fieldNames that you expect to see in parsed Maps.
|
public static final com.google.common.base.Function<com.fasterxml.jackson.databind.JsonNode,Object> valueFunction
public JSONParser()
@Deprecated public JSONParser(Iterable<String> fieldNames)
public JSONParser(com.fasterxml.jackson.databind.ObjectMapper objectMapper, Iterable<String> fieldNames)
public List<String> getFieldNames()
Parser
getFieldNames
in interface Parser<String,Object>
public void setFieldNames(Iterable<String> fieldNames)
Parser
setFieldNames
in interface Parser<String,Object>
Copyright © 2011–2017. All rights reserved.