public static class RootParser.EmbeddedObjectParser extends RootParser
{ status: "ok", results: { ... } }
The parser counts over the single object. The message parser will parse any content after the closing bracket.
RootParser.EmbeddedArrayParser, RootParser.EmbeddedObjectParser, RootParser.RootArrayParser, RootParser.RootObjectParserlogger, rootObject| Constructor and Description |
|---|
EmbeddedObjectParser(JsonStructureParser structParser,
MessageParser messageParser) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
parseRoot(TokenIterator tokenizer)
Parse one data object.
|
errorFactory, parseRootObjectpublic EmbeddedObjectParser(JsonStructureParser structParser, MessageParser messageParser)
public boolean parseRoot(TokenIterator tokenizer)
RootParserparseRoot in class RootParsertrue if an object was found, false if the
end of data was reached.Copyright © 2021 The Apache Software Foundation. All rights reserved.