| JSON.swift:12 | case Array([JSON]) |
| JSON.swift:14 | case Dictionary([Swift.String: JSON]) |
| JSON.swift:29 | extension JSON { |
| JSON.swift:43 | case ValueNotConvertible(value: JSON, to: Any.Type) |
| JSON.swift:51 | public func ==(lhs: JSON, rhs: JSON) -> Bool { |
| JSON.swift:51 | public func ==(lhs: JSON, rhs: JSON) -> Bool { |
| JSON.swift:76 | extension JSON: Equatable {} |
| JSON.swift:80 | extension JSON: CustomStringConvertible { |
| JSONDecodable.swift:18 | init(json: JSON) throws |
| JSONDecodable.swift:29 | public init(json: JSON) throws { |
| JSONDecodable.swift:36 | throw JSON.Error.ValueNotConvertible(value: json, to: Swift.Double) |
| JSONDecodable.swift:49 | public init(json: JSON) throws { |
| JSONDecodable.swift:56 | throw JSON.Error.ValueNotConvertible(value: json, to: Swift.Int) |
| JSONDecodable.swift:69 | public init(json: JSON) throws { |
| JSONDecodable.swift:71 | throw JSON.Error.ValueNotConvertible(value: json, to: Swift.String) |
| JSONDecodable.swift:85 | public init(json: JSON) throws { |
| JSONDecodable.swift:87 | throw JSON.Error.ValueNotConvertible(value: json, to: Swift.Bool) |
| JSONDecodable.swift:101 | public init(json: JSON) throws { |
| JSONDecodable.swift:104 | throw JSON.Error.ValueNotConvertible(value: json, to: Self.self) |
| JSONDecodable.swift:110 | internal extension JSON { |
| JSONDecodable.swift:116 | static func getArray(json: JSON) throws -> [JSON] { |
| JSONDecodable.swift:116 | static func getArray(json: JSON) throws -> [JSON] { |
| JSONDecodable.swift:128 | static func getDictionary(json: JSON) throws -> [Swift.String: JSON] { |
| JSONDecodable.swift:128 | static func getDictionary(json: JSON) throws -> [Swift.String: JSON] { |
| JSONDecodable.swift:145 | static func getArrayOf<Decoded: JSONDecodable>(json: JSON) throws -> [Decoded] { |
| JSONEncodable.swift:17 | func toJSON() -> JSON |
| JSONEncodable.swift:23 | public func toJSON() -> JSON { |
| JSONEncodable.swift:33 | public func toJSON() -> JSON { |
| JSONEncodable.swift:34 | var jsonDictionary = [String: JSON]() |
| JSONEncodable.swift:48 | public func toJSON() -> JSON { |
| JSONEncodable.swift:56 | public func toJSON() -> JSON { |
| JSONEncodable.swift:64 | public func toJSON() -> JSON { |
| JSONEncodable.swift:72 | public func toJSON() -> JSON { |
| JSONEncodable.swift:80 | public func toJSON() -> JSON { |
| JSONLiteralConvertible.swift:11 | extension JSON: ArrayLiteralConvertible { |
| JSONLiteralConvertible.swift:15 | public init<Collection: CollectionType where Collection.Generator.Element == JSON>(_ collection: Collection) { |
| JSONLiteralConvertible.swift:20 | public init(arrayLiteral elements: JSON...) { |
| JSONLiteralConvertible.swift:28 | extension JSON: DictionaryLiteralConvertible { |
| JSONLiteralConvertible.swift:32 | public init<Dictionary: SequenceType where Dictionary.Generator.Element == (Swift.String, JSON)>(_ pairs: Dictionary) { |
| JSONLiteralConvertible.swift:41 | public init(dictionaryLiteral pairs: (Swift.String, JSON)...) { |
| JSONLiteralConvertible.swift:49 | extension JSON: FloatLiteralConvertible { |
| JSONLiteralConvertible.swift:65 | extension JSON: IntegerLiteralConvertible { |
| JSONLiteralConvertible.swift:81 | extension JSON: StringLiteralConvertible { |
| JSONLiteralConvertible.swift:107 | extension JSON: BooleanLiteralConvertible { |
| JSONLiteralConvertible.swift:123 | extension JSON: NilLiteralConvertible { |
| JSONParser.swift:98 | public mutating func parse() throws -> JSON { |
| JSONParser.swift:108 | private mutating func parseValue() throws -> JSON { |
| JSONParser.swift:182 | private mutating func decodeNull() throws -> JSON { |
| JSONParser.swift:197 | private mutating func decodeTrue() throws -> JSON { |
| JSONParser.swift:212 | private mutating func decodeFalse() throws -> JSON { |
| JSONParser.swift:229 | private mutating func decodeString() throws -> JSON { |
| JSONParser.swift:340 | private mutating func decodeArray() throws -> JSON { |
| JSONParser.swift:343 | var items = [JSON]() |
| JSONParser.swift:374 | var buffers = [[(String,JSON)]]() |
| JSONParser.swift:376 | mutating func getBuffer() -> [(String,JSON)] { |
| JSONParser.swift:382 | return [(String,JSON)]() |
| JSONParser.swift:385 | mutating func putBuffer(buffer: [(String,JSON)]) { |
| JSONParser.swift:392 | private mutating func decodeObject() throws -> JSON { |
| JSONParser.swift:402 | var obj = [String:JSON](minimumCapacity: pairs.count) |
| JSONParser.swift:437 | private mutating func decodeNumberNegative(start: Int) throws -> JSON { |
| JSONParser.swift:455 | private mutating func decodeNumberLeadingZero(start: Int, sign: Sign = .Positive) throws -> JSON { |
| JSONParser.swift:473 | private mutating func decodeNumberPreDecimalDigits(start: Int, sign: Sign = .Positive) throws -> JSON { |
| JSONParser.swift:497 | private mutating func decodeNumberDecimal(start: Int, sign: Sign, value: Double) throws -> JSON { |
| JSONParser.swift:512 | private mutating func decodeNumberPostDecimalDigits(start: Int, sign: Sign, value inValue: Double) throws -> JSON { |
| JSONParser.swift:535 | private mutating func decodeNumberExponent(start: Int, sign: Sign, value: Double) throws -> JSON { |
| JSONParser.swift:556 | private mutating func decodeNumberExponentSign(start: Int, sign: Sign, value: Double, expSign: Sign) throws -> JSON { |
| JSONParser.swift:571 | private mutating func decodeNumberExponentDigits(start: Int, sign: Sign, value: Double, expSign: Sign) throws -> JSON { |
| JSONParser.swift:622 | public static func createJSONFromData(data: NSData) throws -> JSON { |
| JSONParsing.swift:20 | static func createJSONFromData(data: NSData) throws -> JSON |
| JSONParsing.swift:24 | extension JSON { |
| JSONParsing.swift:48 | public static func createJSONFromData(data: NSData) throws -> JSON { |
| JSONParsing.swift:57 | private static func makeJSON(object: AnyObject) -> JSON { |
| JSONParsing.swift:84 | private static func makeJSONArray(jsonArray: [AnyObject]) -> JSON { |
| JSONParsing.swift:93 | private static func makeJSONDictionary(jsonDict: [Swift.String: AnyObject]) -> JSON { |
| JSONParsing.swift:94 | return JSON(jsonDict.lazy.map { (key, value) in |
| JSONSerializing.swift:7 | extension JSON { |
| JSONSubscripting.swift:22 | func valueInDictionary(dictionary: [Swift.String : JSON]) throws -> JSON |
| JSONSubscripting.swift:22 | func valueInDictionary(dictionary: [Swift.String : JSON]) throws -> JSON |
| JSONSubscripting.swift:30 | func valueInArray(array: [JSON]) throws -> JSON |
| JSONSubscripting.swift:30 | func valueInArray(array: [JSON]) throws -> JSON |
| JSONSubscripting.swift:37 | public func valueInDictionary(dictionary: [Swift.String : JSON]) throws -> JSON { |
| JSONSubscripting.swift:37 | public func valueInDictionary(dictionary: [Swift.String : JSON]) throws -> JSON { |
| JSONSubscripting.swift:38 | throw JSON.Error.UnexpectedSubscript(type: Self.self) |
| JSONSubscripting.swift:43 | public func valueInArray(array: [JSON]) throws -> JSON { |
| JSONSubscripting.swift:43 | public func valueInArray(array: [JSON]) throws -> JSON { |
| JSONSubscripting.swift:44 | throw JSON.Error.UnexpectedSubscript(type: Self.self) |
| JSONSubscripting.swift:55 | public func valueInDictionary(dictionary: [Swift.String : JSON]) throws -> JSON { |
| JSONSubscripting.swift:55 | public func valueInDictionary(dictionary: [Swift.String : JSON]) throws -> JSON { |
| JSONSubscripting.swift:57 | throw JSON.Error.KeyNotFound(key: self) |
| JSONSubscripting.swift:70 | public func valueInArray(array: [JSON]) throws -> JSON { |
| JSONSubscripting.swift:70 | public func valueInArray(array: [JSON]) throws -> JSON { |
| JSONSubscripting.swift:72 | throw JSON.Error.IndexOutOfBounds(index: self) |
| JSONSubscripting.swift:81 | private extension JSON { |
| JSONSubscripting.swift:87 | func valueForPathFragment(fragment: JSONPathType, detectNull: Swift.Bool) throws -> JSON { |
| JSONSubscripting.swift:100 | func valueAtPath(path: [JSONPathType], detectNull: Swift.Bool = false) throws -> JSON { |
| JSONSubscripting.swift:112 | extension JSON { |
| JSONSubscripting.swift:126 | extension JSON { |
| JSONSubscripting.swift:188 | public func array(path: JSONPathType...) throws -> [JSON] { |
| JSONSubscripting.swift:189 | return try JSON.getArray(valueAtPath(path)) |
| JSONSubscripting.swift:203 | return try JSON.getArrayOf(valueAtPath(path)) |
| JSONSubscripting.swift:211 | public func dictionary(path: JSONPathType...) throws -> [Swift.String: JSON] { |
| JSONSubscripting.swift:212 | return try JSON.getDictionary(valueAtPath(path)) |
| JSONSubscripting.swift:219 | extension JSON { |
| JSONSubscripting.swift:221 | private func optionalAtPath(path: [JSONPathType], ifNotFound: Swift.Bool) throws -> JSON? { |
| JSONSubscripting.swift:344 | public func array(path: JSONPathType..., ifNotFound: Swift.Bool) throws -> [JSON]? { |
| JSONSubscripting.swift:345 | return try optionalAtPath(path, ifNotFound: ifNotFound).map(JSON.getArray) |
| JSONSubscripting.swift:365 | return try optionalAtPath(path, ifNotFound: ifNotFound).map(JSON.getArrayOf) |
| JSONSubscripting.swift:383 | public func dictionary(path: JSONPathType..., ifNotFound: Swift.Bool) throws -> [Swift.String: JSON]? { |
| JSONSubscripting.swift:384 | return try optionalAtPath(path, ifNotFound: ifNotFound).map(JSON.getDictionary) |
| JSONSubscripting.swift:391 | extension JSON { |
| JSONSubscripting.swift:393 | private func mapOptionalAtPath<Value>(path: [JSONPathType], @noescape fallback: () -> Value, @noescape transform: JSON throws -> Value) throws -> Value { |
| JSONSubscripting.swift:485 | public func array(path: JSONPathType..., @autoclosure or fallback: () -> [JSON]) throws -> [JSON] { |
| JSONSubscripting.swift:485 | public func array(path: JSONPathType..., @autoclosure or fallback: () -> [JSON]) throws -> [JSON] { |
| JSONSubscripting.swift:486 | return try mapOptionalAtPath(path, fallback: fallback, transform: JSON.getArray) |
| JSONSubscripting.swift:505 | return try mapOptionalAtPath(path, fallback: fallback, transform: JSON.getArrayOf) |
| JSONSubscripting.swift:522 | public func dictionary(path: JSONPathType..., @autoclosure or fallback: () -> [Swift.String: JSON]) throws -> [Swift.String: JSON] { |
| JSONSubscripting.swift:522 | public func dictionary(path: JSONPathType..., @autoclosure or fallback: () -> [Swift.String: JSON]) throws -> [Swift.String: JSON] { |
| JSONSubscripting.swift:523 | return try mapOptionalAtPath(path, fallback: fallback, transform: JSON.getDictionary) |
| JSONSubscripting.swift:530 | extension JSON { |
| JSONSubscripting.swift:532 | private func mapOptionalAtPath<Value>(path: [JSONPathType], ifNull: Swift.Bool, @noescape transform: JSON throws -> Value) throws -> Value? { |
| JSONSubscripting.swift:533 | var json: JSON? |
| JSONSubscripting.swift:653 | public func array(path: JSONPathType..., ifNull: Swift.Bool) throws -> [JSON]? { |
| JSONSubscripting.swift:654 | return try mapOptionalAtPath(path, ifNull: ifNull, transform: JSON.getArray) |
| JSONSubscripting.swift:674 | return try mapOptionalAtPath(path, ifNull: ifNull, transform: JSON.getArrayOf) |
| JSONSubscripting.swift:693 | public func dictionary(path: JSONPathType..., ifNull: Swift.Bool) throws -> [Swift.String: JSON]? { |
| JSONSubscripting.swift:694 | return try mapOptionalAtPath(path, ifNull: ifNull, transform: JSON.getDictionary) |