Qx v0.5.7
Qt Extensions Library
|
The QxJson
namespace encapsulates the user-extensible implementation of Qx's JSON parsing facilities.
Classes | |
class | Array |
The array class represents a JSON array node for use in error contexts. More... | |
class | ArrayElement |
The array element key class represents a JSON Array element node for use in error contexts. More... | |
struct | Converter |
The Converter template struct acts as an interface that carries details on how to parse JSON to various types. More... | |
class | Document |
The document class represents a JSON document node for use in error contexts. More... | |
class | File |
The file class represents a JSON file node for use in error contexts. More... | |
struct | MemberOverrideCoverter |
class | Object |
The object class represents a JSON object node for use in error contexts. More... | |
class | ObjectKey |
The object key class represents a JSON Object key node for use in error contexts. More... | |
struct | QxJsonMetaStructOutside |
Concepts | |
concept | qjson_type |
concept | json_struct_inside |
concept | json_struct_outside |
concept | json_struct |
concept | json_convertible |
concept | json_override_convertible |
concept | json_keyable |
concept | json_collective |
concept | json_associative |
concept | json_containing |
concept | json_optional |
Typedefs | |
using | ContextNode = std::variant<File, Document, Object, ObjectKey, Array, ArrayElement> |
Functions | |
template<typename Key , class Value > | |
Key | keygen (const Value &value)=delete |
The keygen template function acts as an interface through which the derivation of a key for a given type when used in associative containers is defined. | |
QxJson::ContextNode = std::variant<File, Document, Object, ObjectKey, Array, ArrayElement> |
Any JSON context node type.
|
delete |
Any otherwise convertible JSON type can be parsed into a map as long as a specialization of keygen() exists for that type.
Support for additional types can be added like so: