userver: userver/formats/json/string_builder.hpp File Reference
Loading...
Searching...
No Matches
string_builder.hpp File Reference

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.

Go to the source code of this file.

+ This graph shows which files directly or indirectly include 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)