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 the input is invalid, no result can be found or the value is ''null'', this function returns "﷐" (JSON_INVALID).
|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 <code>(string)JSON_INVALID</code>. If the result is ''null'' the function returns <code>(string)JSON_NULL</code>.
|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 04:31, 8 July 2013

Summary

Function: string llJsonGetValue( string json, list specifiers );
0.0 Forced Delay
10.0 Energy

Gets the value indicated by specifiers from the json string. When the input is invalid or no result can be found this function returns (string)JSON_INVALID. If the result is null the function returns (string)JSON_NULL.
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

Signature

function string llJsonGetValue( string json, list specifiers );