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

Detailed Description

Non-mutable JSON value representation.

Definition in file value.hpp.

Go to the source code of this file.

#include <chrono>
#include <string_view>
#include <type_traits>
#include <userver/formats/common/items.hpp>
#include <userver/formats/common/meta.hpp>
#include <userver/formats/json/exception.hpp>
#include <userver/formats/json/impl/types.hpp>
#include <userver/formats/json/iterator.hpp>
#include <userver/formats/json/serialize.hpp>
#include <userver/formats/json/string_builder_fwd.hpp>
#include <userver/formats/json/validate.hpp>
#include <userver/formats/parse/common.hpp>
+ Include dependency graph for value.hpp:
+ This graph shows which files directly or indirectly include this file:

Classes

class  formats::json::Value
 Non-mutable JSON value representation. More...
 
struct  formats::json::Value::IterTraits
 
struct  formats::json::Value::DefaultConstructed
 

Namespaces

namespace  logging
 Logging macro and utilities.
 
namespace  formats
 Value formats representation, parsing and serialization.
 
namespace  formats::json
 JSON support.
 
namespace  formats::json::parser
 SAX parser tools.
 
namespace  formats::literals
 

Functions

bool formats::json::Parse (const Value &value, parse::To< bool >)
 
std::int64_t formats::json::Parse (const Value &value, parse::To< std::int64_t >)
 
std::uint64_t formats::json::Parse (const Value &value, parse::To< std::uint64_t >)
 
double formats::json::Parse (const Value &value, parse::To< double >)
 
std::string formats::json::Parse (const Value &value, parse::To< std::string >)
 
template<>
std::string formats::json::Value::ConvertTo< std::string > () const
 
Value formats::json::Parse (const Value &value, parse::To< Value >)
 
std::chrono::microseconds formats::json::Parse (const Value &value, parse::To< std::chrono::microseconds >)
 
std::chrono::milliseconds formats::json::Parse (const Value &value, parse::To< std::chrono::milliseconds >)
 
std::chrono::minutes formats::json::Parse (const Value &value, parse::To< std::chrono::minutes >)
 
std::chrono::hours formats::json::Parse (const Value &value, parse::To< std::chrono::hours >)
 
json::Value formats::literals::operator""_json (const char *str, std::size_t len)