Package org.meeuw.json
Class Structure
- java.lang.Object
-
- org.meeuw.json.AbstractJsonReader
-
- org.meeuw.json.Structure
-
- All Implemented Interfaces:
Closeable,AutoCloseable
public class Structure extends AbstractJsonReader
This Json-reader just outputs the parsed keys to output. It is not very usefull in itself, but it show what the 'path' argument ofhandleToken(org.meeuw.json.ParseEvent)is at any moment, so this is more or less the simplest concretisation of AbstractJsonReader.
-
-
Constructor Summary
Constructors Constructor Description Structure(OutputStream out)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidhandleToken(ParseEvent event)protected voidready()-
Methods inherited from class org.meeuw.json.AbstractJsonReader
close, read, read
-
-
-
-
Constructor Detail
-
Structure
public Structure(OutputStream out)
-
-
Method Detail
-
handleToken
protected void handleToken(ParseEvent event)
- Specified by:
handleTokenin classAbstractJsonReader
-
ready
protected void ready()
- Overrides:
readyin classAbstractJsonReader
-
-