projects.practivist.org

sendero_base.json.TokenParser

Authors:
Aaron Craelius

License:
GNU Lesser General Public License v3



enum JSONTokenType ;
Enumerates the token types found by JSONParser

class JSONParser (Ch,Int = uint);
Parses a JSON string into token

bool next ();
Steps the parser to the next token in the JSON string. Returns false when there are no more tokens. The type() and value() properties reveal the tokens that were found.

Returns:
true if there are more tokens in the JSON string. false if there are no more tokens or if an error was encountered

JSONTokenType type ();
The type of the current token

Ch[] value ();
The value of the current token

Documentation last updated Thu May 29 17:23:15 2008