tango.text.json.JsonParser

License:
BSD style:

Version:
Initial release: July 2008

Authors:
Aaron, Kris

class JsonParser(T);


this(const(T)[] text = null);


bool next();


Token type();


const(T)[] value();


bool reset(const(T)[] json = null);


void expected(immutable(char)[] token);


void expected(immutable(char)[] token, const(T)* point);


void unexpectedEOF(immutable(char)[] msg);


bool start(T c);


bool parseMemberName();


bool parseMemberValue();


bool parseValue(T c);


bool doString();


bool parseNumber();


bool match(const(T)[] name, Token token);


bool push(Token token, State next);


bool pop(Token token);


bool parseArrayValue();


int escaped(const(T)* p);



Page generated by Ddoc. Copyright (C) 2008 Aaron Craelius & Kris Bell. All rights reserved.