Read and modify JSON values and convert between JSON and lists.
Feature: Data Transmission
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)functionParses the JSON string src and returns a list representing its top-level elements.
string llJsonGetValue(string json, list specifiers)functionParses 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)functionReturns a new JSON string representing json with the target located at specifiers set to value. Supports
JSON_APPENDto append elements. WritingJSON_DELETEdeletes the target. Overwriting array bounds or setting non-array levels with array indices returnsJSON_INVALID.string llJsonValueType(string json, list specifiers)functionParses the JSON string json and returns the JSON type constant (JSON_*) representing the value found at specifiers.
string llList2Json(string type, list values)functionConverts the list values into a JSON string of the specified type (either a
JSON_ARRAYor aJSON_OBJECT). ReturnsJSON_INVALIDif an error is encountered.
No matching entries. Try a different term or filter.