one way (but probably not the best)
var myobj = eval(myjsonString);I wouldn't trust this though - specially if the json string is from an untrusted source....
Shawn wolf wrote:
hi, what is the correct way in jQuery to decode = deserialize a JSON string? jQuery itself can obviously do it as it can formulate and read JSON via Ajax. But i seemingly can't find a callable in jQuery that allows me to decode JSON without issuing an HTTP request. That is strange to me. Can you help? _wolf