llJsonSetValue

From Second Life Wiki
Jump to navigation Jump to search

Summary

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

Returns a new JSON string which is string with the value indicated by specifiers set to value.
Returns a string

• string json
• list specifiers
• string value

Specification

Caveats

Be aware that llJsonSetValue does not correctly escape strings. The quote (") character is left unescaped, and therefore invalid JSON could be generated by this function.

Examples

See Also

Functions

•  llList2Json
•  llJson2List
•  llJsonGetValue
•  llJsonValueType

Articles

•  Typecast

Deep Notes

History

Date of Release 20/05/2013

Signature

function string llJsonSetValue( string json, list specifiers, string value );