JSON parser.
More...
#include <parser.h>
|
| template<typename InputStream> |
| static Document | ParseStream (InputStream &stream) |
| | Parse the input stream.
|
| static Document | Parse (const char *source) |
| | Parse the C-string.
|
| static Document | Parse (const char *source, size_t size) |
| | Parse the C-string with a given size.
|
| static Document | Parse (const std::string &source) |
| | Parse the string.
|
| static Document | ParseInPlace (char *source) |
| | Parse the in-place C-string in mutable mode.
|
JSON parser.
JSON parser is used to parse JSON from the given source (stream, string) and create a corresponding DOM document.
Definition at line 22 of file parser.h.
◆ Parser() [1/3]
| CppSerialization::JSON::Parser::Parser |
( |
| ) |
|
|
delete |
◆ Parser() [2/3]
| CppSerialization::JSON::Parser::Parser |
( |
const Parser & | | ) |
|
|
delete |
◆ Parser() [3/3]
| CppSerialization::JSON::Parser::Parser |
( |
Parser && | | ) |
|
|
delete |
◆ ~Parser()
| CppSerialization::JSON::Parser::~Parser |
( |
| ) |
|
|
delete |
◆ operator=() [1/2]
| Parser & CppSerialization::JSON::Parser::operator= |
( |
const Parser & | | ) |
|
|
delete |
◆ operator=() [2/2]
| Parser & CppSerialization::JSON::Parser::operator= |
( |
Parser && | | ) |
|
|
delete |
◆ Parse() [1/3]
| Document CppSerialization::JSON::Parser::Parse |
( |
const char * | source | ) |
|
|
static |
Parse the C-string.
Definition at line 14 of file parser.cpp.
◆ Parse() [2/3]
| Document CppSerialization::JSON::Parser::Parse |
( |
const char * | source, |
|
|
size_t | size ) |
|
static |
Parse the C-string with a given size.
Definition at line 20 of file parser.cpp.
◆ Parse() [3/3]
| Document CppSerialization::JSON::Parser::Parse |
( |
const std::string & | source | ) |
|
|
static |
◆ ParseInPlace()
| Document CppSerialization::JSON::Parser::ParseInPlace |
( |
char * | source | ) |
|
|
static |
Parse the in-place C-string in mutable mode.
Definition at line 32 of file parser.cpp.
◆ ParseStream()
template<typename InputStream>
| Document CppSerialization::JSON::Parser::ParseStream |
( |
InputStream & | stream | ) |
|
|
inlinestatic |
Parse the input stream.
Definition at line 13 of file parser.inl.
The documentation for this class was generated from the following files: