├── .gitignore ├── .swiftpm └── xcode │ └── package.xcworkspace │ └── contents.xcworkspacedata ├── CodableWrapper.podspec ├── Development Docs ├── 一、设计目标和手动实现这些目标特性.md └── 二、Codable宏的开发和实现.md ├── LICENSE ├── Package.resolved ├── Package.swift ├── README.md ├── Sources ├── CodableWrapper │ ├── AnyCodingKey.swift │ ├── AnyDecodable.swift │ ├── BuiltInBridgeType.swift │ ├── CodableWrapperMacros.swift │ ├── Decoder.swift │ ├── Encoder.swift │ ├── Error.swift │ ├── SnakeCamelConvert.swift │ ├── TransformOf.swift │ └── TransformType.swift └── CodableWrapperMacros │ ├── ASTError.swift │ ├── Codable.swift │ ├── CodableKey.swift │ ├── CodableSubclass.swift │ ├── CodingKeyIgnored.swift │ ├── CodingNestedKey.swift │ ├── CodingTransformer.swift │ ├── ModelMemberPropertyContainer.swift │ ├── Plugin.swift │ └── VariableDeclSyntaxExtension.swift └── Tests └── CodableWrapperTests ├── CodableWrapperTests.swift ├── DeclareTests.swift ├── ExampleTest.swift ├── ExtensionTest.swift ├── NestedKeyTest.swift ├── TransformTest.swift └── Transforms.swift /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winddpan/CodableWrapper/HEAD/.gitignore -------------------------------------------------------------------------------- /.swiftpm/xcode/package.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winddpan/CodableWrapper/HEAD/.swiftpm/xcode/package.xcworkspace/contents.xcworkspacedata -------------------------------------------------------------------------------- /CodableWrapper.podspec: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winddpan/CodableWrapper/HEAD/CodableWrapper.podspec -------------------------------------------------------------------------------- /Development Docs/一、设计目标和手动实现这些目标特性.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winddpan/CodableWrapper/HEAD/Development Docs/一、设计目标和手动实现这些目标特性.md -------------------------------------------------------------------------------- /Development Docs/二、Codable宏的开发和实现.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winddpan/CodableWrapper/HEAD/Development Docs/二、Codable宏的开发和实现.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winddpan/CodableWrapper/HEAD/LICENSE -------------------------------------------------------------------------------- /Package.resolved: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winddpan/CodableWrapper/HEAD/Package.resolved -------------------------------------------------------------------------------- /Package.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winddpan/CodableWrapper/HEAD/Package.swift -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winddpan/CodableWrapper/HEAD/README.md -------------------------------------------------------------------------------- /Sources/CodableWrapper/AnyCodingKey.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winddpan/CodableWrapper/HEAD/Sources/CodableWrapper/AnyCodingKey.swift -------------------------------------------------------------------------------- /Sources/CodableWrapper/AnyDecodable.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winddpan/CodableWrapper/HEAD/Sources/CodableWrapper/AnyDecodable.swift -------------------------------------------------------------------------------- /Sources/CodableWrapper/BuiltInBridgeType.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winddpan/CodableWrapper/HEAD/Sources/CodableWrapper/BuiltInBridgeType.swift -------------------------------------------------------------------------------- /Sources/CodableWrapper/CodableWrapperMacros.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winddpan/CodableWrapper/HEAD/Sources/CodableWrapper/CodableWrapperMacros.swift -------------------------------------------------------------------------------- /Sources/CodableWrapper/Decoder.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winddpan/CodableWrapper/HEAD/Sources/CodableWrapper/Decoder.swift -------------------------------------------------------------------------------- /Sources/CodableWrapper/Encoder.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winddpan/CodableWrapper/HEAD/Sources/CodableWrapper/Encoder.swift -------------------------------------------------------------------------------- /Sources/CodableWrapper/Error.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winddpan/CodableWrapper/HEAD/Sources/CodableWrapper/Error.swift -------------------------------------------------------------------------------- /Sources/CodableWrapper/SnakeCamelConvert.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winddpan/CodableWrapper/HEAD/Sources/CodableWrapper/SnakeCamelConvert.swift -------------------------------------------------------------------------------- /Sources/CodableWrapper/TransformOf.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winddpan/CodableWrapper/HEAD/Sources/CodableWrapper/TransformOf.swift -------------------------------------------------------------------------------- /Sources/CodableWrapper/TransformType.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winddpan/CodableWrapper/HEAD/Sources/CodableWrapper/TransformType.swift -------------------------------------------------------------------------------- /Sources/CodableWrapperMacros/ASTError.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winddpan/CodableWrapper/HEAD/Sources/CodableWrapperMacros/ASTError.swift -------------------------------------------------------------------------------- /Sources/CodableWrapperMacros/Codable.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winddpan/CodableWrapper/HEAD/Sources/CodableWrapperMacros/Codable.swift -------------------------------------------------------------------------------- /Sources/CodableWrapperMacros/CodableKey.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winddpan/CodableWrapper/HEAD/Sources/CodableWrapperMacros/CodableKey.swift -------------------------------------------------------------------------------- /Sources/CodableWrapperMacros/CodableSubclass.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winddpan/CodableWrapper/HEAD/Sources/CodableWrapperMacros/CodableSubclass.swift -------------------------------------------------------------------------------- /Sources/CodableWrapperMacros/CodingKeyIgnored.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winddpan/CodableWrapper/HEAD/Sources/CodableWrapperMacros/CodingKeyIgnored.swift -------------------------------------------------------------------------------- /Sources/CodableWrapperMacros/CodingNestedKey.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winddpan/CodableWrapper/HEAD/Sources/CodableWrapperMacros/CodingNestedKey.swift -------------------------------------------------------------------------------- /Sources/CodableWrapperMacros/CodingTransformer.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winddpan/CodableWrapper/HEAD/Sources/CodableWrapperMacros/CodingTransformer.swift -------------------------------------------------------------------------------- /Sources/CodableWrapperMacros/ModelMemberPropertyContainer.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winddpan/CodableWrapper/HEAD/Sources/CodableWrapperMacros/ModelMemberPropertyContainer.swift -------------------------------------------------------------------------------- /Sources/CodableWrapperMacros/Plugin.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winddpan/CodableWrapper/HEAD/Sources/CodableWrapperMacros/Plugin.swift -------------------------------------------------------------------------------- /Sources/CodableWrapperMacros/VariableDeclSyntaxExtension.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winddpan/CodableWrapper/HEAD/Sources/CodableWrapperMacros/VariableDeclSyntaxExtension.swift -------------------------------------------------------------------------------- /Tests/CodableWrapperTests/CodableWrapperTests.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winddpan/CodableWrapper/HEAD/Tests/CodableWrapperTests/CodableWrapperTests.swift -------------------------------------------------------------------------------- /Tests/CodableWrapperTests/DeclareTests.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winddpan/CodableWrapper/HEAD/Tests/CodableWrapperTests/DeclareTests.swift -------------------------------------------------------------------------------- /Tests/CodableWrapperTests/ExampleTest.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winddpan/CodableWrapper/HEAD/Tests/CodableWrapperTests/ExampleTest.swift -------------------------------------------------------------------------------- /Tests/CodableWrapperTests/ExtensionTest.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winddpan/CodableWrapper/HEAD/Tests/CodableWrapperTests/ExtensionTest.swift -------------------------------------------------------------------------------- /Tests/CodableWrapperTests/NestedKeyTest.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winddpan/CodableWrapper/HEAD/Tests/CodableWrapperTests/NestedKeyTest.swift -------------------------------------------------------------------------------- /Tests/CodableWrapperTests/TransformTest.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winddpan/CodableWrapper/HEAD/Tests/CodableWrapperTests/TransformTest.swift -------------------------------------------------------------------------------- /Tests/CodableWrapperTests/Transforms.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winddpan/CodableWrapper/HEAD/Tests/CodableWrapperTests/Transforms.swift --------------------------------------------------------------------------------