ClikaRT::json::Json::Element
struct
Header: ClikaRT/json/json.h
An element inside a Json::array({...}) literal. Built implicitly from the bare value (1, "two", true, Json::object({...})); the implicit constructors are deliberate: the braced literal is this type's whole entry point.
Member functions
Element(Json)
Element(Json element_value)
An element holding an already-built Json, the nesting form: Json::array({Json::object({...})}).
Declared in ClikaRT/json/json.h, line 275
Element(T)
template <``typename T, std::enable_if_t<!std::is_same_v<std::remove_cv_t<std::remove_reference_t<T>>, Json> &&!std::is_same_v<std::remove_cv_t<std::remove_reference_t<T>>, Element>, int> = 0``>Element(T&& scalar)
An element holding a scalar; deduces the JSON type exactly as assignment does (delegates to the deducing operator=).
Declared in ClikaRT/json/json.h, line 284
Data members
value
Json value
The element's value.
Declared in ClikaRT/json/json.h, line 271