Sproutcore and JSON Data
H开发者_运维知识库ow 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.
精彩评论