userver: Formats
⚠️ This is the documentation for an old userver version. Click here to switch to the latest version.
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages Concepts

Different containers that share the same interface and manipulate tree-like formats. More...

+ Collaboration diagram for Formats:

Nested Groups

 Serializers
 Files with serializers into formats.
 
 SAX Serializers
 Files with SAX serializers into formats.
 
 Parsers
 Files with parsers from formats.
 

Classes

class  formats::json::StringBuilder
 SAX like builder of JSON string. Use with extreme caution and only in performance critical part of your code. More...
 
class  formats::json::Value
 Non-mutable JSON value representation. More...
 
class  formats::json::ValueBuilder
 Builder for JSON. More...
 
class  formats::yaml::Value
 Non-mutable YAML value representation. More...
 
class  formats::yaml::ValueBuilder
 Builder for YAML. More...
 
class  yaml_config::YamlConfig
 Datatype that represents YAML with substituted variables. More...
 

Functions

template<typename... Args>
Value formats::json::MakeObject (Args &&...)
 
template<typename... Args>
Value formats::json::MakeArray (Args &&...)
 

Detailed Description

Different containers that share the same interface and manipulate tree-like formats.

Function Documentation

◆ MakeArray()

template<typename... Args>
Value formats::json::MakeArray ( Args &&  ...)

Constructs an array Value from provided element list

◆ MakeObject()

template<typename... Args>
Value formats::json::MakeObject ( Args &&  ...)

Constructs an object Value from provided key-value pairs