How can i read JSON data in Sproutcore?
SC.json.decode(json)
will decode and SC.json.encode(json)
will encode. Where possible this will use the browser's native implementation which should be quite fast. Alternatively it will fall back on a JS based parser.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With