Sproutcore and JSON data

How can I read JSON data in Sproutcore?

+4
source share
1 answer

SC.json.decode(json) will be decoded, and SC.json.encode(json) will be encoded. If possible, this will use the built-in browser implementation, which should be pretty fast. As an alternative, it will fall away from the JS-based parser.

+6
source

All Articles