Sproutcore and JSON Data
Asked Answered
D

1

5

How can i read JSON data in Sproutcore?

Deirdre answered 19/8, 2010 at 12:31 Comment(0)
A
7

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.

Atmosphere answered 7/9, 2010 at 17:44 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.