| Package | Description |
|---|---|
| in.abilng.ndjson |
| Modifier and Type | Method and Description |
|---|---|
<T> Stream<T> |
NdJsonObjectMapper.readValue(InputStream in,
Class<T> valueType)
Method to deserialize JSON Stream into Stream of Java type, reference to
which is passed as argument.
|
<T> List<T> |
NdJsonObjectMapper.readValueAsList(InputStream in,
Class<T> valueType)
Method to deserialize JSON Stream into List of Java type, reference to
which is passed as argument.
|
void |
NdJsonObjectMapper.writeValue(OutputStream out,
List<Object> value)
Method that can be used to serialize any Java List of value as JSON
output, written to OutputStream provided.
|
void |
NdJsonObjectMapper.writeValue(OutputStream out,
Stream<Object> value)
Method that can be used to serialize any Java Stream of value as JSON
output, written to OutputStream provided.
|
Copyright © 2019. All rights reserved.