|
nfx-json 1.5.2
Modern C++20 JSON library with schema validation and generation
|
C++20 concepts for JSON type constraints. More...
#include <concepts>#include <string>#include <type_traits>

Go to the source code of this file.
Classes | |
| struct | nfx::json::is_json_container< T > |
| Type trait to identify JSON container types (Object, Array). More... | |
| struct | nfx::json::is_json_container< Document > |
| Specialization for Document. More... | |
Concepts | |
| concept | nfx::json::Primitive |
| Concept for JSON-compatible primitive types. | |
| concept | nfx::json::Value |
| Concept for all JSON-compatible value types. | |
| concept | nfx::json::Container |
| Concept for JSON container types only. | |
| concept | nfx::json::Checkable |
| Concept for types that can be checked with is<T>(). | |
Variables | |
| template<typename T> | |
| constexpr bool | nfx::json::is_json_container_v = is_json_container<std::decay_t<T>>::value |
| Helper variable template. | |
C++20 concepts for JSON type constraints.
Defines Primitive concept and type traits infrastructure for type-safe template constraints in the Document API.
Definition in file Concepts.h.
|
inlineconstexpr |
Helper variable template.
Definition at line 72 of file Concepts.h.