Read and modify JSON values and convert between JSON and lists.
What do you want to do?
string llJsonGetValue(string json, list specifiers)Parses the JSON string json and returns the value found by traversing the specified path of specifiers as a string.string llJsonSetValue(string json, list specifiers, string value)Returns a new JSON string representing json with the target located at specifiers set to value. Supports JSON_APPEND to append elements. Writing JSON_DELETE deletes the target. Overwriting array bounds or setting non-array levels with array indices returns JSON_INVALID.string llList2Json(string type, list values)Converts the list values into a JSON string of the specified type (either a JSON_ARRAY or a JSON_OBJECT). Returns JSON_INVALID if an error is encountered.Reference
5 topic entries
list llJson2List(string src)Parses the JSON string src and returns a list representing its top-level elements.functionstring llJsonGetValue(string json, list specifiers)Parses the JSON string json and returns the value found by traversing the specified path of specifiers as a string.functionstring llJsonSetValue(string json, list specifiers, string value)Returns a new JSON string representing json with the target located at specifiers set to value. SupportsJSON_APPENDto append elements. WritingJSON_DELETEdeletes the target. Overwriting array bounds or setting non-array levels with array indices returnsJSON_INVALID.functionstring llJsonValueType(string json, list specifiers)Parses the JSON string json and returns the JSON type constant (JSON_*) representing the value found at specifiers.functionstring llList2Json(string type, list values)Converts the list values into a JSON string of the specified type (either aJSON_ARRAYor aJSON_OBJECT). ReturnsJSON_INVALIDif an error is encountered.function
No matching entries. Try a different term or filter.