Wt  3.7.1
Classes | Enumerations | Functions
Wt::Json Namespace Reference

Namespace for the JSON Library (Wt::Json). More...

Classes

class  Array
 A JSON array. More...
 
class  Object
 A JSON object. More...
 
class  ParseError
 A parse error. More...
 
class  TypeException
 Exception that indicates a type error. More...
 
class  Value
 A JSON value. More...
 

Enumerations

enum  Type {
  NullType, StringType, BoolType, NumberType,
  ObjectType, ArrayType
}
 Enumeration for the type of a JSON value. More...
 

Functions

WT_API void parse (const std::string &input, Value &result, bool validateUTF8=true)
 Parse function. More...
 
WT_API bool parse (const std::string &input, Value &result, ParseError &error, bool validateUTF8=true)
 Parse function. More...
 
WT_API void parse (const std::string &input, Object &result, bool validateUTF8=true)
 Parse function. More...
 
WT_API bool parse (const std::string &input, Object &result, ParseError &error, bool validateUTF8=true)
 Parse function. More...
 
WT_API void parse (const std::string &input, Array &result, bool validateUTF8=true)
 Parse function. More...
 
WT_API bool parse (const std::string &input, Array &result, ParseError &error, bool validateUTF8=true)
 Parse function. More...
 
std::string WT_API serialize (const Object &obj, int indentation=1)
 Serialization function for an Object. More...
 
std::string WT_API serialize (const Array &arr, int indentation=1)
 Serialization function for an Array. More...
 

Detailed Description

Namespace for the JSON Library (Wt::Json).


Generated on Tue Dec 15 2020 for the C++ Web Toolkit (Wt) by doxygen 1.8.13