CppSerialization 1.0.5.0
C++ Serialization Library
Loading...
Searching...
No Matches
parser.cpp
Go to the documentation of this file.
1
10
11namespace CppSerialization {
12namespace JSON {
13
14Document Parser::Parse(const char* str)
15{
16 Document result;
17 return std::move(result.Parse(str));
18}
19
20Document Parser::Parse(const char* str, size_t size)
21{
22 Document result;
23 return std::move(result.Parse(str, size));
24}
25
26Document Parser::Parse(const std::string& str)
27{
28 Document result;
29 return std::move(result.Parse(str));
30}
31
32Document Parser::ParseInPlace(char* str)
33{
34 Document result;
35 return std::move(result.ParseInsitu(str));
36}
37
38} // namespace JSON
39} // namespace CppSerialization
static Document ParseInPlace(char *source)
Parse the in-place C-string in mutable mode.
Definition parser.cpp:32
static Document Parse(const char *source)
Parse the C-string.
Definition parser.cpp:14
C++ Serialization project definitions.
Definition exceptions.h:14
JSON parser definition.