Protective Stop
Loading...
Searching...
No Matches
jsonlite::Parser Class Reference

Recursive-descent parser for the flat JSON schema of the ESP32 /state.json. More...

#include <json_lite.hpp>

Public Member Functions

 Parser (const std::string &s)
 Parses s; the string must outlive the parser.
bool parse (Value &out)
 Parses the document into out.

Detailed Description

Recursive-descent parser for the flat JSON schema of the ESP32 /state.json.

Nesting deeper than 32 levels is rejected. Unicode escapes pass through unexpanded.

Member Function Documentation

◆ parse()

bool jsonlite::Parser::parse ( Value & out)
inline

Parses the document into out.

Trailing content after the first value is ignored.

Returns
False on malformed input.

The documentation for this class was generated from the following file: