macek/jquery-serialize-object

Standalone JSON String Parse

Closed this issue · 2 comments

dovy commented

I love the concept, but I'm working with a framework that provides me a json string already. I'd love to just pass this in and parse it. Is this possible?

macek commented

@dovy well you certainly don't need my plugin to parse JSON :)

var obj = JSON.parse(json);

Now you have a perfectly usable JS object.

dovy commented

I was talking about something previously serialized into an object. But no worries, I got it sorted. ;)