Poco::JSON

class Parser

Library: JSON
Package: JSON
Header: Poco/JSON/Parser.h

Description

A class for passing JSON strings or streams.

Member Summary

Member Functions: getHandler, parse, setHandler

Constructors

Parser

Parser();

Constructor.

Destructor

~Parser virtual

virtual ~Parser();

Destructor.

Member Functions

getHandler inline

Handler * getHandler();

Returns the handler.

parse inline

void parse(
    const std::string & source
);

Parses a string.

parse

void parse(
    std::istream & in
);

Parses a JSON from the input stream.

setHandler inline

void setHandler(
    Handler * handler
);

Set the handler.