A pure Swift JSON parsing and encoding library designed for high-performance, high-throughput server-side applications.
swift-json
1.1.0
high-performance json parsing and encoding for server applications
tayloraswift/swift-json
What's New
Description
- Swift Tools 5.10.0
Description
{
"name": "swift-json",
"path": "/usr/src/package",
"targets": [
{
"name": "JSONTests",
"path": "Sources/JSONTests",
"type": "test",
"c99name": "JSONTests",
"sources": [
"TestIntegerOverflow.swift",
"shims.swift"
],
"module_type": "SwiftTarget",
"target_dependencies": [
"JSON"
],
"product_dependencies": [
"Testing"
]
},
{
"name": "JSONParsing",
"path": "Sources/JSONParsing",
"type": "library",
"c99name": "JSONParsing",
"sources": [
"JSON.Array (ext).swift",
"JSON.InvalidUnicodeScalarError.swift",
"JSON.Node (ext).swift",
"JSON.Object (ext).swift",
"Rules/JSON (ext).swift",
"Rules/JSON.NodeRule.Array.swift",
"Rules/JSON.NodeRule.False.swift",
"Rules/JSON.NodeRule.Null.swift",
"Rules/JSON.NodeRule.Object.Item.swift",
"Rules/JSON.NodeRule.Object.swift",
"Rules/JSON.NodeRule.True.swift",
"Rules/JSON.NodeRule.swift",
"Rules/JSON.NumberRule.PlusOrMinus.swift",
"Rules/JSON.NumberRule.swift",
"Rules/JSON.RootRule.swift",
"Rules/JSON.StringRule.CodeUnit.swift",
"Rules/JSON.StringRule.EscapeSequence.swift",
"Rules/JSON.StringRule.EscapedCodeUnit.swift",
"Rules/JSON.StringRule.swift",
"Rules/JSON.WhitespaceRule.swift",
"exports.swift"
],
"module_type": "SwiftTarget",
"product_memberships": [
"JSON",
"Parsing",
"DecodingArrays",
"ParsingErrors",
"DecodingObjects",
"EncodingArrays",
"DecodingWithCodable"
],
"target_dependencies": [
"JSONAST"
],
"product_dependencies": [
"Grammar"
]
},
{
"name": "JSONLegacy",
"path": "Sources/JSONLegacy",
"type": "library",
"c99name": "JSONLegacy",
"sources": [
"CodableCompatibility/JSON.KeyedDecoder.Super.swift",
"CodableCompatibility/JSON.KeyedDecoder.swift",
"CodableCompatibility/JSON.Node (ext).swift",
"CodableCompatibility/JSON.SingleValueDecoder.swift",
"CodableCompatibility/JSON.UnkeyedDecoder.Index.swift",
"CodableCompatibility/JSON.UnkeyedDecoder.swift",
"DecodingError (ext).swift",
"exports.swift"
],
"module_type": "SwiftTarget",
"product_memberships": [
"JSONLegacy",
"Parsing",
"DecodingArrays",
"ParsingErrors",
"DecodingObjects",
"EncodingArrays",
"DecodingWithCodable"
],
"target_dependencies": [
"JSONDecoding"
]
},
{
"name": "JSONEncoding",
"path": "Sources/JSONEncoding",
"type": "library",
"c99name": "JSONEncoding",
"sources": [
"Conformances/Array (ext).swift",
"Conformances/ArraySlice (ext).swift",
"Conformances/Bool (ext).swift",
"Conformances/Character (ext).swift",
"Conformances/Int (ext).swift",
"Conformances/Int16 (ext).swift",
"Conformances/Int32 (ext).swift",
"Conformances/Int64 (ext).swift",
"Conformances/Int8 (ext).swift",
"Conformances/StaticString (ext).swift",
"Conformances/String (ext).swift",
"Conformances/Substring (ext).swift",
"Conformances/UInt (ext).swift",
"Conformances/UInt16 (ext).swift",
"Conformances/UInt32 (ext).swift",
"Conformances/UInt64 (ext).swift",
"Conformances/UInt8 (ext).swift",
"Conformances/Unicode.Scalar (ext).swift",
"Encoders/JSON.ArrayEncoder.Index.swift",
"Encoders/JSON.ArrayEncoder.swift",
"Encoders/JSON.InlineEncoder.swift",
"Encoders/JSON.Literal (ext).swift",
"Encoders/JSON.ObjectEncoder.swift",
"JSON (ext).swift",
"JSONEncodable.swift",
"JSONObjectEncodable.swift",
"JSONStringEncodable.swift",
"Never (ext).swift",
"Optional (ext).swift",
"exports.swift"
],
"module_type": "SwiftTarget",
"product_memberships": [
"JSON",
"Parsing",
"DecodingArrays",
"ParsingErrors",
"DecodingObjects",
"EncodingArrays",
"DecodingWithCodable"
],
"target_dependencies": [
"JSONAST"
]
},
{
"name": "JSONDecoding",
"path": "Sources/JSONDecoding",
"type": "library",
"c99name": "JSONDecoding",
"sources": [
"Conformances/Array (ext).swift",
"Conformances/Bool (ext).swift",
"Conformances/Character (ext).swift",
"Conformances/Dictionary (ext).swift",
"Conformances/Double (ext).swift",
"Conformances/Float (ext).swift",
"Conformances/Float80 (ext).swift",
"Conformances/Int (ext).swift",
"Conformances/Int16 (ext).swift",
"Conformances/Int32 (ext).swift",
"Conformances/Int64 (ext).swift",
"Conformances/Int8 (ext).swift",
"Conformances/Set (ext).swift",
"Conformances/String (ext).swift",
"Conformances/UInt (ext).swift",
"Conformances/UInt16 (ext).swift",
"Conformances/UInt32 (ext).swift",
"Conformances/UInt64 (ext).swift",
"Conformances/UInt8 (ext).swift",
"Conformances/Unicode.Scalar (ext).swift",
"Decoding/JSON.ArrayShape.swift",
"Decoding/JSON.ArrayShapeCriteria.swift",
"Decoding/JSON.ArrayShapeError.swift",
"Decoding/JSON.DecodingError.swift",
"Decoding/JSON.ObjectDecoder.swift",
"Decoding/JSON.ObjectKeyError.swift",
"Decoding/JSON.SingleKeyError.swift",
"Decoding/JSON.ValueError.swift",
"Fields/JSON.FieldDecoder.swift",
"Fields/JSON.OptionalDecoder.swift",
"Fields/JSON.TraceableDecoder.swift",
"JSON.Array (ext).swift",
"JSON.Object (ext).swift",
"JSONDecodable.swift",
"JSONObjectDecodable.swift",
"JSONStringDecodable.swift",
"Never (ext).swift",
"Optional (ext).swift",
"exports.swift"
],
"module_type": "SwiftTarget",
"product_memberships": [
"JSON",
"JSONLegacy",
"Parsing",
"DecodingArrays",
"ParsingErrors",
"DecodingObjects",
"EncodingArrays",
"DecodingWithCodable"
],
"target_dependencies": [
"JSONAST"
],
"product_dependencies": [
"Grammar"
]
},
{
"name": "JSONAST",
"path": "Sources/JSONAST",
"type": "library",
"c99name": "JSONAST",
"sources": [
"JSON.Array.swift",
"JSON.EscapeCode.swift",
"JSON.IntegerOverflowError.swift",
"JSON.Key.swift",
"JSON.Literal.swift",
"JSON.Node.swift",
"JSON.Number.Base10.Inverse.swift",
"JSON.Number.Base10.swift",
"JSON.Number.swift",
"JSON.Object.swift",
"JSON.TypecastError.swift",
"JSON.swift"
],
"module_type": "SwiftTarget",
"product_memberships": [
"JSON",
"JSONAST",
"JSONLegacy",
"Parsing",
"DecodingArrays",
"ParsingErrors",
"DecodingObjects",
"EncodingArrays",
"DecodingWithCodable"
]
},
{
"name": "JSON",
"path": "Sources/JSON",
"type": "library",
"c99name": "JSON",
"sources": [
"JSON (ext).swift",
"exports.swift"
],
"module_type": "SwiftTarget",
"product_memberships": [
"JSON",
"Parsing",
"DecodingArrays",
"ParsingErrors",
"DecodingObjects",
"EncodingArrays",
"DecodingWithCodable"
],
"target_dependencies": [
"JSONDecoding",
"JSONEncoding",
"JSONParsing"
]
},
{
"name": "Parsing",
"path": "Snippets",
"type": "snippet",
"c99name": "Parsing",
"sources": [
"Parsing.swift"
],
"module_type": "SwiftTarget",
"product_memberships": [
"Parsing"
],
"target_dependencies": [
"JSONLegacy",
"JSONAST",
"JSON"
]
},
{
"name": "DecodingArrays",
"path": "Snippets",
"type": "snippet",
"c99name": "DecodingArrays",
"sources": [
"DecodingArrays.swift"
],
"module_type": "SwiftTarget",
"product_memberships": [
"DecodingArrays"
],
"target_dependencies": [
"JSONLegacy",
"JSONAST",
"JSON"
]
},
{
"name": "ParsingErrors",
"path": "Snippets",
"type": "snippet",
"c99name": "ParsingErrors",
"sources": [
"ParsingErrors.swift"
],
"module_type": "SwiftTarget",
"product_memberships": [
"ParsingErrors"
],
"target_dependencies": [
"JSONLegacy",
"JSONAST",
"JSON"
]
},
{
"name": "DecodingObjects",
"path": "Snippets",
"type": "snippet",
"c99name": "DecodingObjects",
"sources": [
"DecodingObjects.swift"
],
"module_type": "SwiftTarget",
"product_memberships": [
"DecodingObjects"
],
"target_dependencies": [
"JSONLegacy",
"JSONAST",
"JSON"
]
},
{
"name": "EncodingArrays",
"path": "Snippets",
"type": "snippet",
"c99name": "EncodingArrays",
"sources": [
"EncodingArrays.swift"
],
"module_type": "SwiftTarget",
"product_memberships": [
"EncodingArrays"
],
"target_dependencies": [
"JSONLegacy",
"JSONAST",
"JSON"
]
},
{
"name": "DecodingWithCodable",
"path": "Snippets",
"type": "snippet",
"c99name": "DecodingWithCodable",
"sources": [
"DecodingWithCodable.swift"
],
"module_type": "SwiftTarget",
"product_memberships": [
"DecodingWithCodable"
],
"target_dependencies": [
"JSONLegacy",
"JSONAST",
"JSON"
]
}
],
"products": [
{
"name": "JSON",
"type": {
"library": [
"automatic"
]
},
"targets": [
"JSON"
]
},
{
"name": "JSONAST",
"type": {
"library": [
"automatic"
]
},
"targets": [
"JSONAST"
]
},
{
"name": "JSONLegacy",
"type": {
"library": [
"automatic"
]
},
"targets": [
"JSONLegacy"
]
},
{
"name": "Parsing",
"type": {
"snippet": null
},
"targets": [
"Parsing"
]
},
{
"name": "DecodingArrays",
"type": {
"snippet": null
},
"targets": [
"DecodingArrays"
]
},
{
"name": "ParsingErrors",
"type": {
"snippet": null
},
"targets": [
"ParsingErrors"
]
},
{
"name": "DecodingObjects",
"type": {
"snippet": null
},
"targets": [
"DecodingObjects"
]
},
{
"name": "EncodingArrays",
"type": {
"snippet": null
},
"targets": [
"EncodingArrays"
]
},
{
"name": "DecodingWithCodable",
"type": {
"snippet": null
},
"targets": [
"DecodingWithCodable"
]
}
],
"platforms": [
{
"name": "macos",
"version": "10.15"
},
{
"name": "ios",
"version": "13.0"
},
{
"name": "tvos",
"version": "13.0"
},
{
"name": "watchos",
"version": "6.0"
}
],
"dependencies": [
{
"url": "https://github.com/tayloraswift/swift-grammar",
"type": "sourceControl",
"identity": "swift-grammar",
"requirement": {
"range": [
{
"lower_bound": "0.4.0",
"upper_bound": "0.5.0"
}
]
}
},
{
"url": "https://github.com/apple/swift-testing",
"type": "sourceControl",
"identity": "swift-testing",
"requirement": {
"range": [
{
"lower_bound": "0.7.0",
"upper_bound": "0.8.0"
}
]
}
}
],
"tools_version": "5.10",
"manifest_display_name": "swift-json"
}
Package Dump
{
"name": "swift-json",
"targets": [
{
"name": "JSONAST",
"type": "regular",
"exclude": [],
"settings": [],
"resources": [],
"dependencies": [],
"packageAccess": true
},
{
"name": "JSONDecoding",
"type": "regular",
"exclude": [],
"settings": [],
"resources": [],
"dependencies": [
{
"target": [
"JSONAST",
null
]
},
{
"product": [
"Grammar",
"swift-grammar",
null,
null
]
}
],
"packageAccess": true
},
{
"name": "JSONEncoding",
"type": "regular",
"exclude": [],
"settings": [],
"resources": [],
"dependencies": [
{
"target": [
"JSONAST",
null
]
}
],
"packageAccess": true
},
{
"name": "JSONLegacy",
"type": "regular",
"exclude": [],
"settings": [],
"resources": [],
"dependencies": [
{
"target": [
"JSONDecoding",
null
]
}
],
"packageAccess": true
},
{
"name": "JSONParsing",
"type": "regular",
"exclude": [],
"settings": [],
"resources": [],
"dependencies": [
{
"target": [
"JSONAST",
null
]
},
{
"product": [
"Grammar",
"swift-grammar",
null,
null
]
}
],
"packageAccess": true
},
{
"name": "JSON",
"type": "regular",
"exclude": [],
"settings": [],
"resources": [],
"dependencies": [
{
"target": [
"JSONDecoding",
null
]
},
{
"target": [
"JSONEncoding",
null
]
},
{
"target": [
"JSONParsing",
null
]
}
],
"packageAccess": true
},
{
"name": "JSONTests",
"type": "test",
"exclude": [],
"settings": [],
"resources": [],
"dependencies": [
{
"target": [
"JSON",
null
]
},
{
"product": [
"Testing",
"swift-testing",
null,
null
]
}
],
"packageAccess": true
}
],
"products": [
{
"name": "JSON",
"type": {
"library": [
"automatic"
]
},
"targets": [
"JSON"
]
},
{
"name": "JSONAST",
"type": {
"library": [
"automatic"
]
},
"targets": [
"JSONAST"
]
},
{
"name": "JSONLegacy",
"type": {
"library": [
"automatic"
]
},
"targets": [
"JSONLegacy"
]
}
],
"pkgConfig": null,
"platforms": [
{
"options": [],
"version": "10.15",
"platformName": "macos"
},
{
"options": [],
"version": "13.0",
"platformName": "ios"
},
{
"options": [],
"version": "13.0",
"platformName": "tvos"
},
{
"options": [],
"version": "6.0",
"platformName": "watchos"
}
],
"providers": null,
"packageKind": {
"root": [
"/usr/src/package"
]
},
"dependencies": [
{
"sourceControl": [
{
"identity": "swift-grammar",
"location": {
"remote": [
{
"urlString": "https://github.com/tayloraswift/swift-grammar"
}
]
},
"requirement": {
"range": [
{
"lowerBound": "0.4.0",
"upperBound": "0.5.0"
}
]
},
"productFilter": null
}
]
},
{
"sourceControl": [
{
"identity": "swift-testing",
"location": {
"remote": [
{
"urlString": "https://github.com/apple/swift-testing"
}
]
},
"requirement": {
"range": [
{
"lowerBound": "0.7.0",
"upperBound": "0.8.0"
}
]
},
"productFilter": null
}
]
}
],
"toolsVersion": {
"_version": "5.10.0"
},
"cLanguageStandard": null,
"cxxLanguageStandard": null,
"swiftLanguageVersions": null
}
Dependencies
- Swift Grammar0.4.0
- swift-testing0.7.0
Dependencies
{
"url": "/usr/src/package",
"name": "swift-json",
"path": "/usr/src/package",
"version": "unspecified",
"identity": "package",
"dependencies": [
{
"url": "https://github.com/tayloraswift/swift-grammar",
"name": "Swift Grammar",
"path": "/usr/src/package/.build/checkouts/swift-grammar",
"version": "0.4.0",
"identity": "swift-grammar",
"dependencies": [
{
"url": "https://github.com/apple/swift-atomics.git",
"name": "swift-atomics",
"path": "/usr/src/package/.build/checkouts/swift-atomics",
"version": "1.2.0",
"identity": "swift-atomics",
"dependencies": []
}
]
},
{
"url": "https://github.com/apple/swift-testing",
"name": "swift-testing",
"path": "/usr/src/package/.build/checkouts/swift-testing",
"version": "0.7.0",
"identity": "swift-testing",
"dependencies": [
{
"url": "https://github.com/apple/swift-syntax.git",
"name": "swift-syntax",
"path": "/usr/src/package/.build/checkouts/swift-syntax",
"version": "510.0.1",
"identity": "swift-syntax",
"dependencies": []
}
]
}
]
}