Features
- DictionaryEncoder: Encode
Encodable types to [String: Any] dictionaries
- DictionaryDecoder: Decode
[String: Any] dictionaries to Decodable types
- Full support for nested structures, arrays, and primitive types
- Customizable encoding/decoding via
Options classes
- NSNumber bridging for numeric types
- Swift 6.0 compatible with full Sendable conformance
Installation
Swift Package Manager
dependencies: [
.package(url: "https://github.com/AdamShare/DictionaryEncoder.git", from: "1.0.0")
]
Requirements
- Swift 6.0+
- macOS, iOS, tvOS, watchOS