On Wed, May 5, 2010 at 11:19 AM, Torsten Lodderstedt <tors...@lodderstedt.net> wrote: > Am 05.05.2010 20:14, schrieb Marius Scurtescu: >> >> On Wed, May 5, 2010 at 10:47 AM, Torsten Lodderstedt >> <tors...@lodderstedt.net> wrote: >> >>> >>> Even if not supported directly by the platform there are many JSON >>> libraries >>> available these days. >>> >>> http://www.json.org/ lists 3 libraries for Objective-C alone. >>> >>> Moreover, the JSON documents we are discussing now are simple, something >>> like >>> >>> { "access_token": "SlAV32hkKG", "expires_in": "3600", "refresh_token": >>> "8xLOxBtZp8" } >>> >>> Parsing such a document is not a challenge even without library support. >>> >> >> I never written such code, but I imagine it would be quite complicated >> and error prone. You have to deal with escaping, white spaces and >> nested data structures. >> >> Marius >> > > we don't need nested data structure (at least currently). Where do you see a > need for escaping?
How do you represent " { } , and : inside names and values? You probably need full blown lexer and parser for JSON. Marius _______________________________________________ OAuth mailing list OAuth@ietf.org https://www.ietf.org/mailman/listinfo/oauth