Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

A fast JSON parser for iOS and MacOS

branch: master

Update Json/NXJsonParser.m

Now it *really* supports \r as whitespace. See kids? This is what happens when you get cocky and say "it's just one little change, what could possibly go wrong?".
latest commit 27c1a948c6
Martin Adoue authored
Octocat-spinner-32 Classes First commit July 07, 2011
Octocat-spinner-32 Json Update Json/NXJsonParser.m January 17, 2013
Octocat-spinner-32 NextiveJson.xcodeproj Converts the project to Xcode 4 July 25, 2012
Octocat-spinner-32 docs First commit July 07, 2011
Octocat-spinner-32 .DS_Store Converts the project to Xcode 4 July 25, 2012
Octocat-spinner-32 .gitignore Converts the project to Xcode 4 July 25, 2012
Octocat-spinner-32 LICENSE Adding LICENSE file July 29, 2011
Octocat-spinner-32 MainWindow.xib First commit July 07, 2011
Octocat-spinner-32 NextiveJson-Info.plist First commit July 07, 2011
Octocat-spinner-32 NextiveJsonViewController.xib First commit July 07, 2011
Octocat-spinner-32 NextiveJson_Prefix.pch First commit July 07, 2011
Octocat-spinner-32 README.md Update README.md November 16, 2011
Octocat-spinner-32 Tests-Info.plist First commit July 07, 2011
Octocat-spinner-32 build_docs.sh First commit July 07, 2011
Octocat-spinner-32 main.m First commit July 07, 2011
Octocat-spinner-32 twitter_public_timeline.json First commit July 07, 2011
README.md

Nextive JSON

License

This software is licensed under the MIT License.

Copyright (c) 2011 Nextive LLC

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

We'd love to know if you're using this in your software, but it's not a requirement.

Documentation

There's some basic documentation on the docs directory, generated with appledoc (great software BTW). More will come with time.

History

When we started developing this parser, the available parsers (well, the ones we were aware of) were TouchJSON and SBJson. Both were too slow for the task at hand. We needed to parse a pretty big (3 Mb+) file, so we decided (mostly as a learning exercise) to create our own. Our first attemp was comparable to SBJson, and a few optimizations later it became much faster. It's not the fastest parser around (currently the king of speed is JSONKit) and it probably never will, but it's not too bad either. We're working on some optimizations trying to make it faster but not hard to understand.

Libraries

We use the excelent stringencoders library for wicked fast number to string conversions.

Something went wrong with that request. Please try again.