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.
#include <string>
#include <string_view>
#include <userver/formats/json/string_builder_fwd.hpp>
#include <userver/formats/json/value.hpp>
#include <userver/formats/serialize/to.hpp>
#include <userver/formats/serialize/write_to_stream.hpp>
#include <userver/utils/fast_pimpl.hpp>
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) |