Classes | |
| class | CscJsonObject |
| class | CscJsonObjectReader |
| class | CscJsonParser |
| struct | JsonSerializableData |
| class | MissingRequiredPropertyException |
Functions | |
| string | toJsonPointer (const string &propertyPath) |
| string | mapToJson (const map< string, JsonSerializableData > &map, bool noNewLines) |
| template<typename T , typename... Ts> | |
| bool | holds_alternative (const boost::variant< Ts... > &v) noexcept |
| string | stringToJsonString (const string &s) |
| string | jsonSerializableDataToString (JsonSerializableData data) |
| string | vectorToJson (const vector< JsonSerializableData > &list, bool noNewLines) |
| string | pairsToJson (const vector< pair< string, JsonSerializableData >> &entries, bool noNewLines) |
| template<class TValue > | |
| vector< JsonSerializableData > | vectorToJsonSerializable (const vector< TValue > &theVector) |
| template<class TValue > | |
| map< string, JsonSerializableData > | mapToJsonSerializable (const map< string, TValue > &map) |
| template<class T > | |
| T | getNumericValueFromJson (yyjson_val *jsonValue) |
| template<IsString T> | |
| yyjson_mut_val * | toJsonValue (const T &value, yyjson_mut_doc *doc) |
| yyjson_mut_val * | mapToJsonObject (const map< string, string > &map, yyjson_mut_doc *doc) |
| template<IsNotString T> | |
| yyjson_mut_val * | toJsonValue (T &value, yyjson_mut_doc *doc) |
| template<class T > | |
| yyjson_mut_val * | toJsonValue (const vector< T > &valueList, yyjson_mut_doc *doc, bool clone=false) |
Variables | |
| template<class T > | |
| concept | IsString = std::is_same_v<T, string> |
| template<class T > | |
| concept | IsNotString = !IsString<T> |
| T conscience_utils::JSON::getNumericValueFromJson | ( | yyjson_val * | jsonValue | ) |
|
noexcept |
| string conscience_utils::JSON::jsonSerializableDataToString | ( | JsonSerializableData | data | ) |
| string conscience_utils::JSON::mapToJson | ( | const map< string, JsonSerializableData > & | map, |
| bool | noNewLines | ||
| ) |
|
inline |
| map<string, JsonSerializableData> conscience_utils::JSON::mapToJsonSerializable | ( | const map< string, TValue > & | map | ) |
| string conscience_utils::JSON::pairsToJson | ( | const vector< pair< string, JsonSerializableData >> & | entries, |
| bool | noNewLines | ||
| ) |
|
inline |
|
inline |
| yyjson_mut_val * conscience_utils::JSON::toJsonValue | ( | const T & | value, |
| yyjson_mut_doc * | doc | ||
| ) |
| yyjson_mut_val* conscience_utils::JSON::toJsonValue | ( | const vector< T > & | valueList, |
| yyjson_mut_doc * | doc, | ||
| bool | clone = false |
||
| ) |
| yyjson_mut_val* conscience_utils::JSON::toJsonValue | ( | T & | value, |
| yyjson_mut_doc * | doc | ||
| ) |
| string conscience_utils::JSON::vectorToJson | ( | const vector< JsonSerializableData > & | list, |
| bool | noNewLines | ||
| ) |
| vector<JsonSerializableData> conscience_utils::JSON::vectorToJsonSerializable | ( | const vector< TValue > & | theVector | ) |
| concept conscience_utils::JSON::IsNotString = !IsString<T> |
| concept conscience_utils::JSON::IsString = std::is_same_v<T, string> |