https://github.com/outfoxx/potentcodables
🧪 PotentCodables - A potent set of implementations and extensions to the Swift Codable system
https://github.com/outfoxx/potentcodables
asn-1 asn1 cbor codable ios json macos swift tvos watchos yaml
Last synced: 17 days ago
JSON representation
🧪 PotentCodables - A potent set of implementations and extensions to the Swift Codable system
- Host: GitHub
- URL: https://github.com/outfoxx/potentcodables
- Owner: outfoxx
- License: mit
- Created: 2019-07-01T02:04:38.000Z (over 6 years ago)
- Default Branch: main
- Last Pushed: 2025-08-12T08:13:03.000Z (about 2 months ago)
- Last Synced: 2025-09-16T01:31:02.781Z (19 days ago)
- Topics: asn-1, asn1, cbor, codable, ios, json, macos, swift, tvos, watchos, yaml
- Language: Roff
- Homepage:
- Size: 56.7 MB
- Stars: 81
- Watchers: 5
- Forks: 15
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 🧪 PotentCodables


[](https://swiftpackageindex.com/outfoxx/PotentCodables)
[](https://swiftpackageindex.com/outfoxx/PotentCodables)## A potent set of implementations and extension to the Swift `Codable` system
### Why?
The framework aims to solve three major pain points experienced with Swift's `Codable` system:* Allow decoding and/or encoding values of unknown structure (e.g. any encoded value)
* Support polymorphic type encoding/decoding while still allowing Swift to implement `Codable`
* Reduce the complexity and amount of code required to implement and test new serialization formats
* Provide a library of fully featured implementations of popular serialization formats## Integration
### Swift Package Manager
PotentCodables currently supports Swift Package Manager for project integration. Add a package dependency similar to the following:
```swift
.package(url: "https://github.com/outfoxx/PotentCodables.git", from: "1.0.0")
```## Documentation
### [View Package Documentation](https://outfoxx.github.io/PotentCodables/main/documentation/potentcodables)