Skip to content

🧪 PotentCodables - A potent set of implementations and extensions to the Swift Codable system

License

Notifications You must be signed in to change notification settings

outfoxx/PotentCodables

Folders and files

NameName
Last commit message
Last commit date

Latest commit

5aead8f Â· Jun 18, 2024
May 16, 2024
Jun 18, 2024
Jun 18, 2024
Jan 18, 2023
Jan 18, 2023
Sep 14, 2021
Sep 24, 2023
Jul 9, 2019
Jun 9, 2024
Jun 10, 2024
Jun 10, 2024
Feb 11, 2023
Jan 18, 2023

Repository files navigation

🧪 PotentCodables

GitHub Workflow Status Coverage

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:

  .package(url: "https://github.com/outfoxx/PotentCodables.git", from: "1.0.0")

Documentation