json-set

Function

Sets a value in a JSON object at a specific path

Syntax

$result = json-set $data "path" $value

set value at literal path

$result = json-set $data $path $value

set value at variable path

Developer Reference
Set: json
Version: 0.0.0-4
Encoding: T_OP_FN
Sizes: 2-10
Actcode: 3043383231
Set ID: 131