Categories > Data structure > rex_hash

Introduction

Manipulate JSON data.

Links


Categories > Data structure > rex_hashIntroductionLinksDependenceUsageLoadContentDictionaryWriteReadRead a valueRetrieve keys in objectArrayWriteReadRead a valueRetrieve keys in arraySave&Load

Dependence

None

Usage

Load

Action:Load JSON

Content

Expression:AsJSON

Dictionary

Write

Parameter Key is a string with dot notation. For example, content is

 
xxxxxxxxxx
{
  "a":10,
  "b":{
    "c":30
  },
  "d": 40
}

Set root.b.c by key b.c.

New object will be created if not exists.

Read

Read a value

For example get value at root.b.c :

 
xxxxxxxxxx
Expression:At( "b.c" ),
Expression:AtKeys( "b", "c" )
Retrieve keys in object
+Condition:For each itemExpression:CurKeyExpression:CurValueExpression:Loopindex

Array

Write

Read

Read a value
Retrieve keys in array

Save&Load

This plugin support official save/load system.