Announcement

Collapse
No announcement yet.

Json format

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Json format



    Hello, I have a JSON file.. is there a way to understand values in the file? (I read all of the prives topics for this work but i can;t yhis work)

    for example:

    [HTML]{
    "custom": {
    "conditions": [
    {
    "id": "is-large-number",
    "scriptName": "IsLargeNumber",
    "highlight": true,
    "params": [
    {
    "id": "number",
    "type": "number"
    }
    ]
    }
    ],
    "actions": [
    {
    "id": "do-alert",
    "scriptName": "Alert",
    "highlight": true
    }
    ],
    "expressions": [
    {
    "id": "double",
    "expressionName": "Double",
    "scriptName": "Double",
    "highlight": true,
    "returnType": "number",
    "params": [
    {
    "id": "number",
    "type": "number"
    }
    ]
    }
    ]
    }
    }[/HTML]


    How can get value in this location:
    "custom">>"expressions">>"params">>"id"
    and update it to number1?


    Thanks in advance
Working...
X