ll.JsonSetValue

ll.JsonSetValue(JSON: string, Specifiers: list, Value: string) : string

Returns a new JSON string that is the JSON given with the Value indicated by Specifiers set to Value.

Example

ll.JsonSetValue('test', {}, 'test')
{
  "def": "func",
  "desc": "Returns a new JSON string that is the JSON given with the Value indicated by Specifiers set to Value.",
  "energy": 10,
  "sleep": 0,
  "pure": false,
  "link": "https://wiki.secondlife.com/wiki/LlJsonSetValue",
  "name": "JsonSetValue",
  "signatures": [
    {
      "result": [
        {
          "name": "",
          "def": "result",
          "desc": "",
          "variadic": false,
          "type": [
            "string"
          ],
          "optional": false
        }
      ],
      "args": [
        {
          "def": "arg",
          "name": "JSON",
          "desc": "",
          "type": [
            "string"
          ],
          "variadic": false,
          "optional": false
        },
        {
          "def": "arg",
          "name": "Specifiers",
          "desc": "",
          "type": [
            "list"
          ],
          "variadic": false,
          "optional": false
        },
        {
          "def": "arg",
          "name": "Value",
          "desc": "",
          "type": [
            "string"
          ],
          "variadic": false,
          "optional": false
        }
      ]
    }
  ]
}

< Back to ll