JsonParser
public class Jackson2Parser extends AbstractJsonParser implements JsonParser
ObjectMapper
as internal implementation.Constructor | Description |
---|---|
Jackson2Parser(com.fasterxml.jackson.databind.ObjectMapper mapper) |
Create parser with Jackson2 mapper.
|
Modifier and Type | Method | Description |
---|---|---|
protected Map<String,List<Map<String,Object>>> |
doParse(Reader reader) |
Parse given
Reader :
Read JSON input.
Create dataset model from it.
|
parse
parse
public Jackson2Parser(com.fasterxml.jackson.databind.ObjectMapper mapper)
mapper
- Mapper.NullPointerException
- If mapper
is null
.protected Map<String,List<Map<String,Object>>> doParse(Reader reader) throws Exception
AbstractJsonParser
Reader
:
doParse
in class AbstractJsonParser
reader
- The reader.Exception
- If an error occurred during JSON parsing.Copyright © 2017. All rights reserved.