Dear Magnolians

I'm currently working on a custom control which posts a JSON string to the 
dialog save handler - a list of objects, e.g.

[{"description": "Dinner", "price": "25.85", "date": "2010-02-10"}, 
{"description": "Train ticket", "price": "48.2", "date": "2010-02-10"}, 
{"description": "Solution to JSON problem", "price": "priceless"}]

The custom control works fine and JavaScript has now problems turning this 
String into an array of objects. Unfortunately I have not found an easy way to 
do the same with the json-lib which comes with Magnolia. All I would like to do 
is to simply convert the string above into a Collection object containing three 
Map objects. Maybe I'm missing something obvious (easily possible since it's 
been a long day) or this json-lib does not make thinks as easy as they could 
be. So any pointers are warmly appreciated!

Thanks!
-will

----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------

Reply via email to