uim.core.datatypes.json

Undocumented in source.

Members

Functions

hasAllKeys
bool hasAllKeys(Json json, string[] keys, bool deepSearch)

Checks if every key is in json object

hasAllValues
bool hasAllValues(Json json, Json[] values, bool deepSearch)
Undocumented in source. Be warned that the author may not have intended to support it.
hasAnyKey
bool hasAnyKey(Json json, string[] keys, bool deepSearch)

Check if Json has key

hasAnyValue
bool hasAnyValue(Json json, Json[] values, bool deepSearch)
Undocumented in source. Be warned that the author may not have intended to support it.
hasKey
bool hasKey(Json json, string key, bool deepSearch)

Searching key in json, if depth = true also in subnodes

hasPath
bool hasPath(Json json, string path)

Check if jsonPath exists

hasPath
bool hasPath(Json json, string[] pathItems)

Check if jsonPath items exists

hasValue
bool hasValue(Json json, Json value, bool deepSearch)

Searching for value in Json

loadJson
Json loadJson(string name)
Undocumented in source. Be warned that the author may not have intended to support it.
loadJsons
Json[] loadJsons(string[] fileNames)
Undocumented in source. Be warned that the author may not have intended to support it.
loadJsonsFromDirectories
Json[] loadJsonsFromDirectories(string[] dirNames)

Load existing json files in directories

loadJsonsFromDirectory
Json[] loadJsonsFromDirectory(string dirName)

Load existing json file in directories

maxJson
Json maxJson(Json[] jsons, string key)
Undocumented in source. Be warned that the author may not have intended to support it.
mergeJsons
Json mergeJsons(Json[] jsons)

Merge jsons objects to one

mergeJsons
Json mergeJsons(Json[] jsons)

Merge jsons objects in array to one

minJson
Json minJson(Json[] jsons, string key)
Undocumented in source. Be warned that the author may not have intended to support it.
reduceKeys
Json reduceKeys(Json json, string[] keys)

Reduce Json Object to keys (remove others)

removeKey
Json removeKey(Json json, string delKey)

Remove key from Json Object

removeKeys
Json removeKeys(Json json, string[] delKeys)

Remove keys from Json Object

removeKeys
Json removeKeys(Json json, string[] delKeys)
Undocumented in source. Be warned that the author may not have intended to support it.
toJson
Json toJson(STRINGAA data)
Undocumented in source. Be warned that the author may not have intended to support it.
toJson
Json toJson(string key, string value)
Undocumented in source. Be warned that the author may not have intended to support it.
toJson
Json toJson(UUID id, size_t versionNumber)

Special case for managing entities

Meta