Difference between revisions of "LlJsonSetValue"

From Second Life Wiki
Jump to navigation Jump to search
(Undo revision 1179796 by Casper Warden (Talk) - BUG-3142 (which seems to have triggered this change) was due to bad JSON input.)
Line 17: Line 17:
|also_articles={{LSL DefineRow||[[Typecast]]|}}
|also_articles={{LSL DefineRow||[[Typecast]]|}}
|notes=
|notes=
|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.
|permission
|permission
|negative_index
|negative_index

Revision as of 11:41, 8 July 2013

Summary

Function: string llJsonSetValue( string json, list specifiers, string value );

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

Examples

See Also

Functions

•  llList2Json
•  llJson2List
•  llJsonGetValue
•  llJsonValueType

Articles

•  Typecast

Deep Notes

History

Date of Release 20/05/2013

Search JIRA for related Issues

Signature

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