userver: userver/formats/json/string_builder.hpp File Reference
⚠️ 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
string_builder.hpp File Reference

SAX like builder of JSON string. Use with extreme caution and only in performance critical part of your code. More...

+ Include dependency graph for string_builder.hpp:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

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::StringBuilder::ObjectGuard
 
class  formats::json::StringBuilder::ArrayGuard
 

Namespaces

namespace  formats
 Value formats representation, parsing and serialization.
 
namespace  formats::json
 JSON support.
 

Functions

void formats::json::WriteToStream (bool value, StringBuilder &sw)
 
void formats::json::WriteToStream (long long value, StringBuilder &sw)
 
void formats::json::WriteToStream (unsigned long long value, StringBuilder &sw)
 
void formats::json::WriteToStream (int value, StringBuilder &sw)
 
void formats::json::WriteToStream (unsigned value, StringBuilder &sw)
 
void formats::json::WriteToStream (long value, StringBuilder &sw)
 
void formats::json::WriteToStream (unsigned long value, StringBuilder &sw)
 
void formats::json::WriteToStream (double value, StringBuilder &sw)
 
void formats::json::WriteToStream (const char *value, StringBuilder &sw)
 
void formats::json::WriteToStream (std::string_view value, StringBuilder &sw)
 
void formats::json::WriteToStream (const formats::json::Value &value, StringBuilder &sw)
 
void formats::json::WriteToStream (const std::string &value, StringBuilder &sw)
 
void formats::json::WriteToStream (std::chrono::system_clock::time_point tp, StringBuilder &sw)
 

Detailed Description

SAX like builder of JSON string. Use with extreme caution and only in performance critical part of your code.

Definition in file string_builder.hpp.