Difference between revisions of "LlJsonGetValue"

From Second Life Wiki
Jump to navigation Jump to search
Line 3: Line 3:
|func=llJsonGetValue|return_type=string|p1_type=string|p1_name=json|p2_type=list|p2_name=specifiers
|func=llJsonGetValue|return_type=string|p1_type=string|p1_name=json|p2_type=list|p2_name=specifiers
|func_footnote
|func_footnote
|func_desc=Gets the value indicated by specifiers from the [http://json.org json] string. When no result is found, this function appears to return "﷐" (0xfdd0).
|func_desc=Gets the value indicated by specifiers from the [http://json.org json] string. When the input is invalid or no result can be found, this function returns "﷐" (JSON_INVALID).
|return_text=made by parsing '''json''', a string representing json and traversing as specified by specifiers.
|return_text=made by parsing '''json''', a string representing json and traversing as specified by specifiers.
|spec=See [[Json_usage_in_LSL]]
|spec=See [[Json_usage_in_LSL]]

Revision as of 05:25, 8 July 2013

Summary

Function: string llJsonGetValue( string json, list specifiers );

Gets the value indicated by specifiers from the json string. When the input is invalid or no result can be found, this function returns "﷐" (JSON_INVALID).
Returns a string made by parsing json, a string representing json and traversing as specified by specifiers.

• string json
• list specifiers

Specification

Examples

See Also

Functions

•  llList2Json
•  llJson2List
•  llJsonSetValue
•  llJsonValueType

Articles

•  Typecast

Deep Notes

History

Date of Release 20/05/2013

Search JIRA for related Issues

Signature

function string llJsonGetValue( string json, list specifiers );