JQuery: json to object?

Posted by user305270 on Stack Overflow See other posts from Stack Overflow or by user305270
Published on 2010-04-01T00:06:05Z Indexed on 2010/04/01 0:13 UTC
Read the original article Hit count: 737

Filed under:
var gallery = new TGallery([[{"image":{"updated_at":"2010-03-20T00:00:00Z","title":"dfgdfg","spam_reports":0,"by_profile_id":1,"comment_count":0,"id":1,"description":"htt","on_type":"profile","adult_reports":0,"on_id":1,"created_at":"2010-03-20T00:00:00Z"}]]);

Then in the TGallery class I would like to convert the json object to a js object. thanks

without a plugin if is possible... :)

© Stack Overflow or respective owner

Related posts about jQuery