userver: Formats
Loading...
Searching...
No Matches
Formats

Detailed Description

Different containers that share the same interface and manipulate tree-like 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::Value
 Non-mutable JSON value representation. More...
 
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::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 &&...)
 

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

Examples
samples/kafka_service/src/producer_handler.cpp.