PDA

View Full Version : JSON Action Plugin



shadiku
09-19-2009, 03:55 PM
This is a simple and free action plugin that can encode and decode JSON data.

It has a lot of potential and from my tests is pretty stable.

Enjoy.

eleyea(sa)
09-20-2009, 10:27 AM
i downloaded it and the attached APZ File but i didn't understant it :>>>
it has 2 functions encode and decode but can you explain more about it please so we can use it as well as possible

but really thank you for your work and sharing


thanks


http://www.indigorose.com/forums/attachment.php?attachmentid=8595&stc=1&thumb=1&d=1253286456

shadiku
09-20-2009, 10:37 AM
You should know how JSON works before attempting to use this.

This action plugin is just like the INI actions except it can turn a JSON encoded string into a Lua table.

reteset
09-20-2009, 11:45 AM
i downloaded it and the attached APZ File but i didn't understant it :>>>
it has 2 functions encode and decode but can you explain more about it please so we can use it as well as possible


JSON is developed to be an alernative to XML on web based systems
for example AJAX

there is no much difference between XML
JSON has only different shape ,for to be able parse it fastest than XML

this plugin may provide you to use nested lua tables easily ,which had asked by forum members hundreds of times in the past

also you can save this tables to a file and load in future again


good job man :yes
this plugin can be used as an alternative to XML actions of AMS

Centauri Soldier
09-20-2009, 07:19 PM
Nice one Shadow...I was hoping you'd get around to creating this plugin.

ShadowUK
10-01-2009, 12:33 AM
Nice one Shadow...I was hoping you'd get around to creating this plugin.

Thanks.

I really needed something like this myself, I had a Lua script but I thought it would make a good action plugin.