[Proto-Scripty] Re: Prototype Json Editor

2011-08-17 Thread kstubs
Thanks for the reply. I'm looking to host my own.  I maintain some static 
JSON files for use by my website.  I'm looking for a utility that I could 
plug into my admin console to edit the static JSON file.  Currently I use 
these 2 sites to edit, validate, and format my JSON:

http://www.jsonlint.com/
http://jsoneditor.net/

Karl..

-- 
You received this message because you are subscribed to the Google Groups 
Prototype  script.aculo.us group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/prototype-scriptaculous/-/Hi796uWuHqEJ.
To post to this group, send email to prototype-scriptaculous@googlegroups.com.
To unsubscribe from this group, send email to 
prototype-scriptaculous+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/prototype-scriptaculous?hl=en.



[Proto-Scripty] Re: Prototype Json Editor

2011-08-17 Thread shubhojoy
I usually use backend PHP json_encode to transform data (in arrays) to
JSON.

I also have a class to convert XML data into arrays that can be easily
translated into JSON using json_encode. Works very well for me.

At the front end, you can see JSON data represented in a tree format
with Firebug. The online tools look nice: good for validating.

Finally, PrototypeJS always does a neat job of parsing JSON data for
use...

On Aug 17, 11:51 am, kstubs kst...@gmail.com wrote:
 Thanks for the reply. I'm looking to host my own.  I maintain some static
 JSON files for use by my website.  I'm looking for a utility that I could
 plug into my admin console to edit the static JSON file.  Currently I use
 these 2 sites to edit, validate, and format my JSON:

 http://www.jsonlint.com/http://jsoneditor.net/

 Karl..

-- 
You received this message because you are subscribed to the Google Groups 
Prototype  script.aculo.us group.
To post to this group, send email to prototype-scriptaculous@googlegroups.com.
To unsubscribe from this group, send email to 
prototype-scriptaculous+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/prototype-scriptaculous?hl=en.



[Proto-Scripty] Re: Prototype Json Editor

2011-08-16 Thread shellster
I don't know what you are asking.  There are certainly editors which
help you write valid json, but it isn't complicated.  Prototype should
accept any valid JSON that you write.  Typically what you want to do
is to build a structure or array of data in your server scripting
language, then use an appropriate library to serialize the structure
or array into JSON which you return to the browser.

For how to write proper JSON as well as a list of various JSON
libraries in multiple languages, go to json.org


On Aug 15, 12:10 pm, kstubs kst...@gmail.com wrote:
 I'm looking for a Json editor for the Admin side of my website written for
 Prototype.  Any recommendations?

-- 
You received this message because you are subscribed to the Google Groups 
Prototype  script.aculo.us group.
To post to this group, send email to prototype-scriptaculous@googlegroups.com.
To unsubscribe from this group, send email to 
prototype-scriptaculous+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/prototype-scriptaculous?hl=en.