Hi i make my first plugin that uses JSON to change only certain values ??in the Array Object.
Use: {"data":[[val,x,y,z]]} (if you don't use y,z then y,z = 0)
eg. {"data":[["Value",2,5,0],[10,1],[15,1,1]]}
set x=2 y=5 z=0 to "Value"
x=1 y=0 z=0 to 10
x=1 y=1 z=0 to 15
Demo JSON to Array: dl.dropbox.com/u/28779196/JSONtoARRAY/index.html
Plugin: download v0.2:
Example capx JSON to Array: dl.dropbox.com/u/28779196/JsontoArray.capx
This is version 0.1.
Update 0.2:
I rename my plugin to JSONExt.
- New function: "Add JSON to list"
This function can add strings/values from JSON to list eg.
{"keyname":["str1","str2",3,"str4"]}
Demo Add Json to List: dl.dropbox.com/u/28779196/AddJSONtoLIST/index.html
Example capx Add JSON to List: dl.dropbox.com/u/28779196/AddJSONtoList.capx
Plugin: dl.dropbox.com/u/28779196/sb_jsonext0.2.rar
PS. If you have version 0.1 please delete sb_arrayext folder from plugins.