Wt: Wt::Json Namespace Reference

Wt 4.10.4

Loading...
Searching...
No Matches
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 class | Type { Type::Null , Type::String , Type::Bool , Type::Number , Type::Object , Type::Array }
| 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.
WT_API bool | parse (const std::string &input, Value &result, ParseError &error, bool validateUTF8=true)
| Parse function.
WT_API void | parse (const std::string &input, Object &result, bool validateUTF8=true)
| Parse function.
WT_API bool | parse (const std::string &input, Object &result, ParseError &error, bool validateUTF8=true)
| Parse function.
WT_API void | parse (const std::string &input, Array &result, bool validateUTF8=true)
| Parse function.
WT_API bool | parse (const std::string &input, Array &result, ParseError &error, bool validateUTF8=true)
| Parse function.
std::string WT_API | serialize (const Object &obj, int indentation=1)
| Serialization function for an Object.
std::string WT_API | serialize (const Array &arr, int indentation=1)
| Serialization function for an Array.

## Detailed Description

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