├── .gitignore ├── .swift-version ├── .travis.yml ├── Decodable.podspec ├── Decodable.xcodeproj ├── project.pbxproj ├── project.xcworkspace │ ├── contents.xcworkspacedata │ └── xcshareddata │ │ └── WorkspaceSettings.xcsettings └── xcshareddata │ ├── xcbaselines │ ├── 17FB80FF1B530FED0012F106.xcbaseline │ │ ├── 78C19493-4A8B-4FE0-88D6-957F92628060.plist │ │ └── Info.plist │ └── 8FE7B56B1B4C9FB900837609.xcbaseline │ │ ├── 2B184EB9-20A6-44F1-BFA7-F9185332D574.plist │ │ ├── 73DA0DF5-ACA7-4948-824F-2F1739DC2034.plist │ │ └── Info.plist │ └── xcschemes │ ├── Decodable-Mac.xcscheme │ ├── Decodable-iOS.xcscheme │ ├── Decodable-tvOS.xcscheme │ └── Decodable-watchOS.xcscheme ├── Generator ├── Generator.swift └── Templates │ ├── Documentation.swift │ └── Header.swift ├── LICENSE ├── Package.swift ├── README.md ├── Sources ├── Castable.swift ├── Decodable.h ├── Decodable.swift ├── Decoders.swift ├── DecodingError.swift ├── Info.plist ├── KeyPath.swift ├── NSValueCastable.swift ├── Operators.swift ├── OptionalKeyPath.swift ├── Overloads.swift ├── Parse.swift ├── Playground.playground │ ├── Contents.swift │ └── contents.xcplayground └── RawRepresentableDecodable.swift └── Tests ├── ArrayTests.swift ├── DecodableExtensionTests.swift ├── DecodableOperatorsTests.swift ├── DecodableTests.swift ├── DecodeAsOneOfTests.swift ├── DictionaryTests.swift ├── DynamicDecodableTests.swift ├── ErrorPathTests.swift ├── Info.plist ├── JSONExamples ├── MissingKey.json ├── NoJsonObject.json ├── Repository.json ├── TypeMismatch.json └── Vehicle.json ├── KeyPathTests.swift ├── MissingKeyOperatorTests.swift ├── NSNullTests.swift ├── NSValueDecodableTests.swift ├── ParseTests.swift ├── RawRepresentableDecodableTests.swift ├── Repository.swift └── Vehicle.swift /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anviking/Decodable/HEAD/.gitignore -------------------------------------------------------------------------------- /.swift-version: -------------------------------------------------------------------------------- 1 | 4.0 2 | -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anviking/Decodable/HEAD/.travis.yml -------------------------------------------------------------------------------- /Decodable.podspec: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anviking/Decodable/HEAD/Decodable.podspec -------------------------------------------------------------------------------- /Decodable.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anviking/Decodable/HEAD/Decodable.xcodeproj/project.pbxproj -------------------------------------------------------------------------------- /Decodable.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anviking/Decodable/HEAD/Decodable.xcodeproj/project.xcworkspace/contents.xcworkspacedata -------------------------------------------------------------------------------- /Decodable.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anviking/Decodable/HEAD/Decodable.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings -------------------------------------------------------------------------------- /Decodable.xcodeproj/xcshareddata/xcbaselines/17FB80FF1B530FED0012F106.xcbaseline/78C19493-4A8B-4FE0-88D6-957F92628060.plist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anviking/Decodable/HEAD/Decodable.xcodeproj/xcshareddata/xcbaselines/17FB80FF1B530FED0012F106.xcbaseline/78C19493-4A8B-4FE0-88D6-957F92628060.plist -------------------------------------------------------------------------------- /Decodable.xcodeproj/xcshareddata/xcbaselines/17FB80FF1B530FED0012F106.xcbaseline/Info.plist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anviking/Decodable/HEAD/Decodable.xcodeproj/xcshareddata/xcbaselines/17FB80FF1B530FED0012F106.xcbaseline/Info.plist -------------------------------------------------------------------------------- /Decodable.xcodeproj/xcshareddata/xcbaselines/8FE7B56B1B4C9FB900837609.xcbaseline/2B184EB9-20A6-44F1-BFA7-F9185332D574.plist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anviking/Decodable/HEAD/Decodable.xcodeproj/xcshareddata/xcbaselines/8FE7B56B1B4C9FB900837609.xcbaseline/2B184EB9-20A6-44F1-BFA7-F9185332D574.plist -------------------------------------------------------------------------------- /Decodable.xcodeproj/xcshareddata/xcbaselines/8FE7B56B1B4C9FB900837609.xcbaseline/73DA0DF5-ACA7-4948-824F-2F1739DC2034.plist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anviking/Decodable/HEAD/Decodable.xcodeproj/xcshareddata/xcbaselines/8FE7B56B1B4C9FB900837609.xcbaseline/73DA0DF5-ACA7-4948-824F-2F1739DC2034.plist -------------------------------------------------------------------------------- /Decodable.xcodeproj/xcshareddata/xcbaselines/8FE7B56B1B4C9FB900837609.xcbaseline/Info.plist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anviking/Decodable/HEAD/Decodable.xcodeproj/xcshareddata/xcbaselines/8FE7B56B1B4C9FB900837609.xcbaseline/Info.plist -------------------------------------------------------------------------------- /Decodable.xcodeproj/xcshareddata/xcschemes/Decodable-Mac.xcscheme: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anviking/Decodable/HEAD/Decodable.xcodeproj/xcshareddata/xcschemes/Decodable-Mac.xcscheme -------------------------------------------------------------------------------- /Decodable.xcodeproj/xcshareddata/xcschemes/Decodable-iOS.xcscheme: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anviking/Decodable/HEAD/Decodable.xcodeproj/xcshareddata/xcschemes/Decodable-iOS.xcscheme -------------------------------------------------------------------------------- /Decodable.xcodeproj/xcshareddata/xcschemes/Decodable-tvOS.xcscheme: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anviking/Decodable/HEAD/Decodable.xcodeproj/xcshareddata/xcschemes/Decodable-tvOS.xcscheme -------------------------------------------------------------------------------- /Decodable.xcodeproj/xcshareddata/xcschemes/Decodable-watchOS.xcscheme: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anviking/Decodable/HEAD/Decodable.xcodeproj/xcshareddata/xcschemes/Decodable-watchOS.xcscheme -------------------------------------------------------------------------------- /Generator/Generator.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anviking/Decodable/HEAD/Generator/Generator.swift -------------------------------------------------------------------------------- /Generator/Templates/Documentation.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anviking/Decodable/HEAD/Generator/Templates/Documentation.swift -------------------------------------------------------------------------------- /Generator/Templates/Header.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anviking/Decodable/HEAD/Generator/Templates/Header.swift -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anviking/Decodable/HEAD/LICENSE -------------------------------------------------------------------------------- /Package.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anviking/Decodable/HEAD/Package.swift -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anviking/Decodable/HEAD/README.md -------------------------------------------------------------------------------- /Sources/Castable.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anviking/Decodable/HEAD/Sources/Castable.swift -------------------------------------------------------------------------------- /Sources/Decodable.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anviking/Decodable/HEAD/Sources/Decodable.h -------------------------------------------------------------------------------- /Sources/Decodable.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anviking/Decodable/HEAD/Sources/Decodable.swift -------------------------------------------------------------------------------- /Sources/Decoders.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anviking/Decodable/HEAD/Sources/Decoders.swift -------------------------------------------------------------------------------- /Sources/DecodingError.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anviking/Decodable/HEAD/Sources/DecodingError.swift -------------------------------------------------------------------------------- /Sources/Info.plist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anviking/Decodable/HEAD/Sources/Info.plist -------------------------------------------------------------------------------- /Sources/KeyPath.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anviking/Decodable/HEAD/Sources/KeyPath.swift -------------------------------------------------------------------------------- /Sources/NSValueCastable.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anviking/Decodable/HEAD/Sources/NSValueCastable.swift -------------------------------------------------------------------------------- /Sources/Operators.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anviking/Decodable/HEAD/Sources/Operators.swift -------------------------------------------------------------------------------- /Sources/OptionalKeyPath.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anviking/Decodable/HEAD/Sources/OptionalKeyPath.swift -------------------------------------------------------------------------------- /Sources/Overloads.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anviking/Decodable/HEAD/Sources/Overloads.swift -------------------------------------------------------------------------------- /Sources/Parse.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anviking/Decodable/HEAD/Sources/Parse.swift -------------------------------------------------------------------------------- /Sources/Playground.playground/Contents.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anviking/Decodable/HEAD/Sources/Playground.playground/Contents.swift -------------------------------------------------------------------------------- /Sources/Playground.playground/contents.xcplayground: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anviking/Decodable/HEAD/Sources/Playground.playground/contents.xcplayground -------------------------------------------------------------------------------- /Sources/RawRepresentableDecodable.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anviking/Decodable/HEAD/Sources/RawRepresentableDecodable.swift -------------------------------------------------------------------------------- /Tests/ArrayTests.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anviking/Decodable/HEAD/Tests/ArrayTests.swift -------------------------------------------------------------------------------- /Tests/DecodableExtensionTests.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anviking/Decodable/HEAD/Tests/DecodableExtensionTests.swift -------------------------------------------------------------------------------- /Tests/DecodableOperatorsTests.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anviking/Decodable/HEAD/Tests/DecodableOperatorsTests.swift -------------------------------------------------------------------------------- /Tests/DecodableTests.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anviking/Decodable/HEAD/Tests/DecodableTests.swift -------------------------------------------------------------------------------- /Tests/DecodeAsOneOfTests.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anviking/Decodable/HEAD/Tests/DecodeAsOneOfTests.swift -------------------------------------------------------------------------------- /Tests/DictionaryTests.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anviking/Decodable/HEAD/Tests/DictionaryTests.swift -------------------------------------------------------------------------------- /Tests/DynamicDecodableTests.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anviking/Decodable/HEAD/Tests/DynamicDecodableTests.swift -------------------------------------------------------------------------------- /Tests/ErrorPathTests.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anviking/Decodable/HEAD/Tests/ErrorPathTests.swift -------------------------------------------------------------------------------- /Tests/Info.plist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anviking/Decodable/HEAD/Tests/Info.plist -------------------------------------------------------------------------------- /Tests/JSONExamples/MissingKey.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anviking/Decodable/HEAD/Tests/JSONExamples/MissingKey.json -------------------------------------------------------------------------------- /Tests/JSONExamples/NoJsonObject.json: -------------------------------------------------------------------------------- 1 | "id" -------------------------------------------------------------------------------- /Tests/JSONExamples/Repository.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anviking/Decodable/HEAD/Tests/JSONExamples/Repository.json -------------------------------------------------------------------------------- /Tests/JSONExamples/TypeMismatch.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anviking/Decodable/HEAD/Tests/JSONExamples/TypeMismatch.json -------------------------------------------------------------------------------- /Tests/JSONExamples/Vehicle.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anviking/Decodable/HEAD/Tests/JSONExamples/Vehicle.json -------------------------------------------------------------------------------- /Tests/KeyPathTests.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anviking/Decodable/HEAD/Tests/KeyPathTests.swift -------------------------------------------------------------------------------- /Tests/MissingKeyOperatorTests.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anviking/Decodable/HEAD/Tests/MissingKeyOperatorTests.swift -------------------------------------------------------------------------------- /Tests/NSNullTests.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anviking/Decodable/HEAD/Tests/NSNullTests.swift -------------------------------------------------------------------------------- /Tests/NSValueDecodableTests.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anviking/Decodable/HEAD/Tests/NSValueDecodableTests.swift -------------------------------------------------------------------------------- /Tests/ParseTests.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anviking/Decodable/HEAD/Tests/ParseTests.swift -------------------------------------------------------------------------------- /Tests/RawRepresentableDecodableTests.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anviking/Decodable/HEAD/Tests/RawRepresentableDecodableTests.swift -------------------------------------------------------------------------------- /Tests/Repository.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anviking/Decodable/HEAD/Tests/Repository.swift -------------------------------------------------------------------------------- /Tests/Vehicle.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Anviking/Decodable/HEAD/Tests/Vehicle.swift --------------------------------------------------------------------------------