├── .gitignore ├── .swift-version ├── .travis.yml ├── CHANGELOG.md ├── HandyJSON.podspec ├── HandyJSON.xcodeproj ├── project.pbxproj └── xcshareddata │ └── xcschemes │ ├── HandyJSON iOS Tests.xcscheme │ ├── HandyJSON iOS.xcscheme │ ├── HandyJSON macOS Tests.xcscheme │ ├── HandyJSON macOS.xcscheme │ ├── HandyJSON tvOS Tests.xcscheme │ ├── HandyJSON tvOS.xcscheme │ ├── HandyJSON watchOS.xcscheme │ └── HandyJSONDemo.xcscheme ├── HandyJSONDemo ├── AppDelegate.swift ├── Assets.xcassets │ └── AppIcon.appiconset │ │ └── Contents.json ├── Info.plist └── ViewController.swift ├── LICENSE ├── Package.swift ├── Package@swift-4.swift ├── README.md ├── README_cn.md ├── Source ├── AnyExtensions.swift ├── BuiltInBasicType.swift ├── BuiltInBridgeType.swift ├── CBridge.swift ├── Configuration.swift ├── ContextDescriptorType.swift ├── CustomDateFormatTransform.swift ├── DataTransform.swift ├── DateFormatterTransform.swift ├── DateTransform.swift ├── Deserializer.swift ├── EnumTransform.swift ├── EnumType.swift ├── Export.swift ├── ExtendCustomBasicType.swift ├── ExtendCustomModelType.swift ├── FieldDescriptor.swift ├── HandyJSON.h ├── HelpingMapper.swift ├── HexColorTransform.swift ├── ISO8601DateTransform.swift ├── Info-iOS.plist ├── Info-macOS.plist ├── Info-tvOS.plist ├── Info-watchOS.plist ├── LICENSE ├── Logger.swift ├── MangledName.swift ├── Measuable.swift ├── Metadata.swift ├── NSDecimalNumberTransform.swift ├── OtherExtension.swift ├── PointerType.swift ├── Properties.swift ├── PropertyInfo.swift ├── ReflectionHelper.swift ├── Serializer.swift ├── TransformOf.swift ├── TransformType.swift ├── Transformable.swift └── URLTransform.swift ├── Tests └── HandyJSONTests │ ├── BasicTypesInClass.swift │ ├── BasicTypesInClassTestsFromJSON.swift │ ├── BasicTypesInClassTestsToJSON.swift │ ├── BasicTypesInStruct.swift │ ├── BasicTypesInStructTestsFromJSON.swift │ ├── BasicTypesInStructTestsToJSON.swift │ ├── CustomMappingTest.swift │ ├── CustomTransformTest.swift │ ├── CustomTransfromTypes.swift │ ├── GenericTypes.swift │ ├── GenericTypesTest.swift │ ├── Info-iOS.plist │ ├── Info-macOS.plist │ ├── Info-tvOS.plist │ ├── InvalidStateHandlingTest.swift │ ├── NestTypes.swift │ ├── NestTypesTest.swift │ ├── OCUIInheritanceClass.swift │ ├── OCUIInheritanceTests.swift │ ├── OtherFeaturesTest.swift │ └── TestUtils.swift └── qq_group.png /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alibaba/HandyJSON/HEAD/.gitignore -------------------------------------------------------------------------------- /.swift-version: -------------------------------------------------------------------------------- 1 | 5.0 2 | -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alibaba/HandyJSON/HEAD/.travis.yml -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alibaba/HandyJSON/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /HandyJSON.podspec: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alibaba/HandyJSON/HEAD/HandyJSON.podspec -------------------------------------------------------------------------------- /HandyJSON.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alibaba/HandyJSON/HEAD/HandyJSON.xcodeproj/project.pbxproj -------------------------------------------------------------------------------- /HandyJSON.xcodeproj/xcshareddata/xcschemes/HandyJSON iOS Tests.xcscheme: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alibaba/HandyJSON/HEAD/HandyJSON.xcodeproj/xcshareddata/xcschemes/HandyJSON iOS Tests.xcscheme -------------------------------------------------------------------------------- /HandyJSON.xcodeproj/xcshareddata/xcschemes/HandyJSON iOS.xcscheme: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alibaba/HandyJSON/HEAD/HandyJSON.xcodeproj/xcshareddata/xcschemes/HandyJSON iOS.xcscheme -------------------------------------------------------------------------------- /HandyJSON.xcodeproj/xcshareddata/xcschemes/HandyJSON macOS Tests.xcscheme: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alibaba/HandyJSON/HEAD/HandyJSON.xcodeproj/xcshareddata/xcschemes/HandyJSON macOS Tests.xcscheme -------------------------------------------------------------------------------- /HandyJSON.xcodeproj/xcshareddata/xcschemes/HandyJSON macOS.xcscheme: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alibaba/HandyJSON/HEAD/HandyJSON.xcodeproj/xcshareddata/xcschemes/HandyJSON macOS.xcscheme -------------------------------------------------------------------------------- /HandyJSON.xcodeproj/xcshareddata/xcschemes/HandyJSON tvOS Tests.xcscheme: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alibaba/HandyJSON/HEAD/HandyJSON.xcodeproj/xcshareddata/xcschemes/HandyJSON tvOS Tests.xcscheme -------------------------------------------------------------------------------- /HandyJSON.xcodeproj/xcshareddata/xcschemes/HandyJSON tvOS.xcscheme: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alibaba/HandyJSON/HEAD/HandyJSON.xcodeproj/xcshareddata/xcschemes/HandyJSON tvOS.xcscheme -------------------------------------------------------------------------------- /HandyJSON.xcodeproj/xcshareddata/xcschemes/HandyJSON watchOS.xcscheme: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alibaba/HandyJSON/HEAD/HandyJSON.xcodeproj/xcshareddata/xcschemes/HandyJSON watchOS.xcscheme -------------------------------------------------------------------------------- /HandyJSON.xcodeproj/xcshareddata/xcschemes/HandyJSONDemo.xcscheme: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alibaba/HandyJSON/HEAD/HandyJSON.xcodeproj/xcshareddata/xcschemes/HandyJSONDemo.xcscheme -------------------------------------------------------------------------------- /HandyJSONDemo/AppDelegate.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alibaba/HandyJSON/HEAD/HandyJSONDemo/AppDelegate.swift -------------------------------------------------------------------------------- /HandyJSONDemo/Assets.xcassets/AppIcon.appiconset/Contents.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alibaba/HandyJSON/HEAD/HandyJSONDemo/Assets.xcassets/AppIcon.appiconset/Contents.json -------------------------------------------------------------------------------- /HandyJSONDemo/Info.plist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alibaba/HandyJSON/HEAD/HandyJSONDemo/Info.plist -------------------------------------------------------------------------------- /HandyJSONDemo/ViewController.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alibaba/HandyJSON/HEAD/HandyJSONDemo/ViewController.swift -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alibaba/HandyJSON/HEAD/LICENSE -------------------------------------------------------------------------------- /Package.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alibaba/HandyJSON/HEAD/Package.swift -------------------------------------------------------------------------------- /Package@swift-4.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alibaba/HandyJSON/HEAD/Package@swift-4.swift -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alibaba/HandyJSON/HEAD/README.md -------------------------------------------------------------------------------- /README_cn.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alibaba/HandyJSON/HEAD/README_cn.md -------------------------------------------------------------------------------- /Source/AnyExtensions.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alibaba/HandyJSON/HEAD/Source/AnyExtensions.swift -------------------------------------------------------------------------------- /Source/BuiltInBasicType.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alibaba/HandyJSON/HEAD/Source/BuiltInBasicType.swift -------------------------------------------------------------------------------- /Source/BuiltInBridgeType.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alibaba/HandyJSON/HEAD/Source/BuiltInBridgeType.swift -------------------------------------------------------------------------------- /Source/CBridge.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alibaba/HandyJSON/HEAD/Source/CBridge.swift -------------------------------------------------------------------------------- /Source/Configuration.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alibaba/HandyJSON/HEAD/Source/Configuration.swift -------------------------------------------------------------------------------- /Source/ContextDescriptorType.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alibaba/HandyJSON/HEAD/Source/ContextDescriptorType.swift -------------------------------------------------------------------------------- /Source/CustomDateFormatTransform.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alibaba/HandyJSON/HEAD/Source/CustomDateFormatTransform.swift -------------------------------------------------------------------------------- /Source/DataTransform.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alibaba/HandyJSON/HEAD/Source/DataTransform.swift -------------------------------------------------------------------------------- /Source/DateFormatterTransform.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alibaba/HandyJSON/HEAD/Source/DateFormatterTransform.swift -------------------------------------------------------------------------------- /Source/DateTransform.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alibaba/HandyJSON/HEAD/Source/DateTransform.swift -------------------------------------------------------------------------------- /Source/Deserializer.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alibaba/HandyJSON/HEAD/Source/Deserializer.swift -------------------------------------------------------------------------------- /Source/EnumTransform.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alibaba/HandyJSON/HEAD/Source/EnumTransform.swift -------------------------------------------------------------------------------- /Source/EnumType.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alibaba/HandyJSON/HEAD/Source/EnumType.swift -------------------------------------------------------------------------------- /Source/Export.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alibaba/HandyJSON/HEAD/Source/Export.swift -------------------------------------------------------------------------------- /Source/ExtendCustomBasicType.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alibaba/HandyJSON/HEAD/Source/ExtendCustomBasicType.swift -------------------------------------------------------------------------------- /Source/ExtendCustomModelType.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alibaba/HandyJSON/HEAD/Source/ExtendCustomModelType.swift -------------------------------------------------------------------------------- /Source/FieldDescriptor.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alibaba/HandyJSON/HEAD/Source/FieldDescriptor.swift -------------------------------------------------------------------------------- /Source/HandyJSON.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alibaba/HandyJSON/HEAD/Source/HandyJSON.h -------------------------------------------------------------------------------- /Source/HelpingMapper.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alibaba/HandyJSON/HEAD/Source/HelpingMapper.swift -------------------------------------------------------------------------------- /Source/HexColorTransform.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alibaba/HandyJSON/HEAD/Source/HexColorTransform.swift -------------------------------------------------------------------------------- /Source/ISO8601DateTransform.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alibaba/HandyJSON/HEAD/Source/ISO8601DateTransform.swift -------------------------------------------------------------------------------- /Source/Info-iOS.plist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alibaba/HandyJSON/HEAD/Source/Info-iOS.plist -------------------------------------------------------------------------------- /Source/Info-macOS.plist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alibaba/HandyJSON/HEAD/Source/Info-macOS.plist -------------------------------------------------------------------------------- /Source/Info-tvOS.plist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alibaba/HandyJSON/HEAD/Source/Info-tvOS.plist -------------------------------------------------------------------------------- /Source/Info-watchOS.plist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alibaba/HandyJSON/HEAD/Source/Info-watchOS.plist -------------------------------------------------------------------------------- /Source/LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alibaba/HandyJSON/HEAD/Source/LICENSE -------------------------------------------------------------------------------- /Source/Logger.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alibaba/HandyJSON/HEAD/Source/Logger.swift -------------------------------------------------------------------------------- /Source/MangledName.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alibaba/HandyJSON/HEAD/Source/MangledName.swift -------------------------------------------------------------------------------- /Source/Measuable.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alibaba/HandyJSON/HEAD/Source/Measuable.swift -------------------------------------------------------------------------------- /Source/Metadata.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alibaba/HandyJSON/HEAD/Source/Metadata.swift -------------------------------------------------------------------------------- /Source/NSDecimalNumberTransform.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alibaba/HandyJSON/HEAD/Source/NSDecimalNumberTransform.swift -------------------------------------------------------------------------------- /Source/OtherExtension.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alibaba/HandyJSON/HEAD/Source/OtherExtension.swift -------------------------------------------------------------------------------- /Source/PointerType.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alibaba/HandyJSON/HEAD/Source/PointerType.swift -------------------------------------------------------------------------------- /Source/Properties.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alibaba/HandyJSON/HEAD/Source/Properties.swift -------------------------------------------------------------------------------- /Source/PropertyInfo.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alibaba/HandyJSON/HEAD/Source/PropertyInfo.swift -------------------------------------------------------------------------------- /Source/ReflectionHelper.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alibaba/HandyJSON/HEAD/Source/ReflectionHelper.swift -------------------------------------------------------------------------------- /Source/Serializer.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alibaba/HandyJSON/HEAD/Source/Serializer.swift -------------------------------------------------------------------------------- /Source/TransformOf.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alibaba/HandyJSON/HEAD/Source/TransformOf.swift -------------------------------------------------------------------------------- /Source/TransformType.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alibaba/HandyJSON/HEAD/Source/TransformType.swift -------------------------------------------------------------------------------- /Source/Transformable.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alibaba/HandyJSON/HEAD/Source/Transformable.swift -------------------------------------------------------------------------------- /Source/URLTransform.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alibaba/HandyJSON/HEAD/Source/URLTransform.swift -------------------------------------------------------------------------------- /Tests/HandyJSONTests/BasicTypesInClass.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alibaba/HandyJSON/HEAD/Tests/HandyJSONTests/BasicTypesInClass.swift -------------------------------------------------------------------------------- /Tests/HandyJSONTests/BasicTypesInClassTestsFromJSON.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alibaba/HandyJSON/HEAD/Tests/HandyJSONTests/BasicTypesInClassTestsFromJSON.swift -------------------------------------------------------------------------------- /Tests/HandyJSONTests/BasicTypesInClassTestsToJSON.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alibaba/HandyJSON/HEAD/Tests/HandyJSONTests/BasicTypesInClassTestsToJSON.swift -------------------------------------------------------------------------------- /Tests/HandyJSONTests/BasicTypesInStruct.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alibaba/HandyJSON/HEAD/Tests/HandyJSONTests/BasicTypesInStruct.swift -------------------------------------------------------------------------------- /Tests/HandyJSONTests/BasicTypesInStructTestsFromJSON.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alibaba/HandyJSON/HEAD/Tests/HandyJSONTests/BasicTypesInStructTestsFromJSON.swift -------------------------------------------------------------------------------- /Tests/HandyJSONTests/BasicTypesInStructTestsToJSON.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alibaba/HandyJSON/HEAD/Tests/HandyJSONTests/BasicTypesInStructTestsToJSON.swift -------------------------------------------------------------------------------- /Tests/HandyJSONTests/CustomMappingTest.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alibaba/HandyJSON/HEAD/Tests/HandyJSONTests/CustomMappingTest.swift -------------------------------------------------------------------------------- /Tests/HandyJSONTests/CustomTransformTest.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alibaba/HandyJSON/HEAD/Tests/HandyJSONTests/CustomTransformTest.swift -------------------------------------------------------------------------------- /Tests/HandyJSONTests/CustomTransfromTypes.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alibaba/HandyJSON/HEAD/Tests/HandyJSONTests/CustomTransfromTypes.swift -------------------------------------------------------------------------------- /Tests/HandyJSONTests/GenericTypes.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alibaba/HandyJSON/HEAD/Tests/HandyJSONTests/GenericTypes.swift -------------------------------------------------------------------------------- /Tests/HandyJSONTests/GenericTypesTest.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alibaba/HandyJSON/HEAD/Tests/HandyJSONTests/GenericTypesTest.swift -------------------------------------------------------------------------------- /Tests/HandyJSONTests/Info-iOS.plist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alibaba/HandyJSON/HEAD/Tests/HandyJSONTests/Info-iOS.plist -------------------------------------------------------------------------------- /Tests/HandyJSONTests/Info-macOS.plist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alibaba/HandyJSON/HEAD/Tests/HandyJSONTests/Info-macOS.plist -------------------------------------------------------------------------------- /Tests/HandyJSONTests/Info-tvOS.plist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alibaba/HandyJSON/HEAD/Tests/HandyJSONTests/Info-tvOS.plist -------------------------------------------------------------------------------- /Tests/HandyJSONTests/InvalidStateHandlingTest.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alibaba/HandyJSON/HEAD/Tests/HandyJSONTests/InvalidStateHandlingTest.swift -------------------------------------------------------------------------------- /Tests/HandyJSONTests/NestTypes.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alibaba/HandyJSON/HEAD/Tests/HandyJSONTests/NestTypes.swift -------------------------------------------------------------------------------- /Tests/HandyJSONTests/NestTypesTest.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alibaba/HandyJSON/HEAD/Tests/HandyJSONTests/NestTypesTest.swift -------------------------------------------------------------------------------- /Tests/HandyJSONTests/OCUIInheritanceClass.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alibaba/HandyJSON/HEAD/Tests/HandyJSONTests/OCUIInheritanceClass.swift -------------------------------------------------------------------------------- /Tests/HandyJSONTests/OCUIInheritanceTests.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alibaba/HandyJSON/HEAD/Tests/HandyJSONTests/OCUIInheritanceTests.swift -------------------------------------------------------------------------------- /Tests/HandyJSONTests/OtherFeaturesTest.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alibaba/HandyJSON/HEAD/Tests/HandyJSONTests/OtherFeaturesTest.swift -------------------------------------------------------------------------------- /Tests/HandyJSONTests/TestUtils.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alibaba/HandyJSON/HEAD/Tests/HandyJSONTests/TestUtils.swift -------------------------------------------------------------------------------- /qq_group.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alibaba/HandyJSON/HEAD/qq_group.png --------------------------------------------------------------------------------