public static class RootParser.EmbeddedArrayParser extends RootParser
{ status: "ok", results: [ { ... }, { ... } ] }
The closing array bracket indicates the end of data; the message parser will parse any content after the closing bracket.
RootParser.EmbeddedArrayParser, RootParser.EmbeddedObjectParser, RootParser.RootArrayParser, RootParser.RootObjectParserlogger, rootObject| Constructor and Description |
|---|
EmbeddedArrayParser(JsonStructureParser structParser,
MessageParser messageParser) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
parseRoot(TokenIterator tokenizer)
Parse one data object.
|
errorFactory, parseRootObjectpublic EmbeddedArrayParser(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.