JsonParser
GsonParser
, Jackson1Parser
, Jackson2Parser
public abstract class AbstractJsonParser extends Object implements JsonParser
JsonParser
that create Reader
from
given Resource
and execute doParse(Reader)
.
Note that exceptions thrown from doParse(Reader)
method will automatically
be wrapped into JsonException
.
Constructor | Description |
---|---|
AbstractJsonParser() |
Modifier and Type | Method | Description |
---|---|---|
protected abstract Map<String,List<Map<String,Object>>> |
doParse(Reader reader) |
Parse given
Reader :
Read JSON input.
Create dataset model from it.
|
Map<String,List<Map<String,Object>>> |
parse(Resource resource) |
Read JSON File and return representation.
|
public Map<String,List<Map<String,Object>>> parse(Resource resource)
JsonParser
parse
in interface JsonParser
resource
- Input resource.Copyright © 2017. All rights reserved.