Skip to content

Instantly share code, notes, and snippets.

@outadoc
Forked from b3ll/GottaGoFastJS.swift
Last active May 14, 2016 09:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save outadoc/eda580af102c1777a86f2e5f82b4b360 to your computer and use it in GitHub Desktop.
Save outadoc/eda580af102c1777a86f2e5f82b4b360 to your computer and use it in GitHub Desktop.
Blazingly-Fast JSON Parser written in Swift
import Foundation
public typealias JSON = AnyObject
public func JSONWithData(data: NSData) throws -> JSON? {
return NSJSONSerialization.JSONObjectWithData(data, options: [])
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment