Package | Description |
---|---|
org.ojai.util |
Modifier and Type | Method and Description |
---|---|
static Map<String,Object> |
MapEncoder.encode(DocumentReader reader)
Deprecated.
Encodes values from the specified DocumentReader into a Java Map.
|
static Map<String,Object> |
DocumentReaders.encode(DocumentReader reader)
Encodes values from the specified DocumentReader into a Java Map.
|
static List<Object> |
DocumentReaders.encodeArray(DocumentReader dr)
Encodes values from the specified DocumentReader into a Java Map.
This method should be called after consuming
DocumentReader.EventType.START_ARRAY . |
static Map<String,Object> |
DocumentReaders.encodeMap(DocumentReader dr)
Encodes values from the specified DocumentReader into a Java
List .
The difference between this method and DocumentReaders.encode(DocumentReader) is that
this should be called after consuming DocumentReader.EventType.START_MAP . |
static Object |
DocumentReaders.encodeValue(DocumentReader dr)
Returns the corresponding Java Object for the current node in
DocumentReader . |
Copyright © 2015–2019 MapR Technologies, Inc.. All rights reserved.