Manipulate JSON data.
Categories > Data structure > rex_hashIntroductionLinksDependenceUsageLoadContentDictionaryWriteReadRead a valueRetrieve keys in objectArrayWriteReadRead a valueRetrieve keys in arraySave&Load
None
Action:Load JSON
Expression:AsJSON
Action:Set valueAction:Add to  (Sample capx)Action:Set JSONAction:Remove keyAction:Clean allAction:Merge, to merge another JSON  (Sample capx)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.
Expression:At( keys ), keys in a string with dot notation
Expression:At( "" ), returns rootExpression:At( keys , defaultValue ), return defaultValue if keys is not existed
Expression:AtKeys( key0, key1, ... ), keys in parameters
For example get value at root.b.c :
 xxxxxxxxxxExpression:At( "b.c" ),Expression:AtKeys( "b", "c" )Condition:Key exists, returns true if key is existedExpression:RandomKeyAt, returns a random key in objectCondition:For each item  Sample capx
Condition:For each item
Expression:CurKey
Expression:CurValue( keys ), child in current itemExpression:Loopindex, loop index of current for each
Action:Pick keys, put all keys in object into an official array.  Sample capx
Expression:ItemCnt, amount of keys in object
0 : this object is a number or a string-1 : object is not existedInitial an array
Action:Set JSON with parameter JSON to []Push
Action:Push valueAction:Push JSON  Sample capxInsert
Action:Insert valueAction:Insert JSONRemove
Action:Remove keyArray length
Expression:ItemCntOrder
Action:Sort  Sample capxAction:Shuffle  Sample capxExpression:At( keys ), keys in a string with dot notationExpression:AtKeys( key0, key1, ... )Expression:Pop, pop the last item
Expression:Pop(keys, index), pop item at indexCondition:For each item  Sample capx
Condition:For each item
Expression:CurKey
Expression:CurValue( keys ), child in current itemExpression:Loopindex, loop index of current for each
System condition:For, from 0  to Expression:ItemCnt - 1
This plugin support official save/load system.