public interface JsonLikeStructure
List
whose members are other Maps, Lists, or scalars (Strings, Numbers, Boolean)| Modifier and Type | Method and Description |
|---|---|
JsonLikeStructure |
getInstance() |
JsonLikeWriter |
getJsonLikeWriter() |
JsonLikeWriter |
getJsonLikeWriter(Writer writer) |
JsonLikeArray |
getRootArray() |
JsonLikeObject |
getRootObject() |
void |
load(Reader theReader)
Parse the JSON document into the Json-like structure
so that it can be navigated.
|
void |
load(Reader theReader,
boolean allowArray) |
JsonLikeStructure getInstance()
void load(Reader theReader) throws DataFormatException
theReader - a Reader that will
process the JSON input streamDataFormatException - when invalid JSON is receivedvoid load(Reader theReader, boolean allowArray) throws DataFormatException
DataFormatExceptionJsonLikeObject getRootObject() throws DataFormatException
DataFormatExceptionJsonLikeArray getRootArray() throws DataFormatException
DataFormatExceptionJsonLikeWriter getJsonLikeWriter()
JsonLikeWriter getJsonLikeWriter(Writer writer)
Copyright © 2014–2017 University Health Network. All rights reserved.