eckit::JSONParser class

Base classes

class ObjectParser

Public static functions

static auto decodeFile(const PathName& path) -> Value
static auto decodeString(const std::string& str) -> Value

Constructors, destructors, conversion operators

JSONParser(std::istream& in)

Public functions

auto parse() -> Value virtual
auto peek(bool spaces = false) -> char
auto next(bool spaces = false) -> char
void consume(char)
void consume(const char*)
void expect(const char*)
void putback(char)

Private functions

auto parseValue() -> Value virtual
auto parserName() const -> std::string virtual

Function documentation

Value eckit::JSONParser::parse() virtual

char eckit::JSONParser::peek(bool spaces = false)

char eckit::JSONParser::next(bool spaces = false)

void eckit::JSONParser::consume(char)

void eckit::JSONParser::consume(const char*)

void eckit::JSONParser::expect(const char*)

void eckit::JSONParser::putback(char)

This website is beyond its original expiry date and the content may be out of date. The site owner has been notified and may choose to extend the expiry date and remove this banner. If you have any questions about this, please visit our support portal.