bpf::json::Parser class

A simple Json Parser

Constructors, destructors, conversion operators

Parser(Lexer&& lexer) explicit

Public functions

auto Parse() -> Json

Function documentation

bpf::json::Parser::Parser(Lexer&& lexer) explicit

Parameters
lexer the lexer instance to extract tokens from

Constructs a Parser

Json bpf::json::Parser::Parse()

Returns new Json value from all parsed tokens
Exceptions
JsonParseException when the parser could not interpret a token sequence

Parses all tokens into a Json value and returns it