Swift Codable

Open-source Swift projects categorized as Codable | Edit details

Top 15 Swift Codable Projects

  • Codextended

    Extensions giving Swift's Codable API type inference super powers 🦸‍♂️🦹‍♀️

  • BetterCodable

    Better Codable through Property Wrappers

    Project mention: im trying to decode this json url(google search) and im trying to get the variables such as placeID, types, name and all the variable under the results struct. but when I type in the . of results the variable isn't there. Help pls! | reddit.com/r/swift | 2021-04-24

    Also try bettercodable for less boilerplate and optionals.

  • Appwrite

    Appwrite - The Open Source Firebase alternative introduces iOS support. Appwrite is an open source backend server that helps you build native iOS applications much faster with realtime APIs for authentication, databases, files storage, cloud functions and much more!

  • XMLCoder

    Easy XML parsing using Codable protocols in Swift

    Project mention: Are there any XML parsers (through SPM ideally) that are worth using instead of Apple's XMLParser framework? | reddit.com/r/swift | 2021-04-17

    I've used https://github.com/MaxDesiatov/XMLCoder in a few apps, works nicely!

  • Bamboots

    Bamboots - Extension 4 Alamofire

  • UserDefaultsStore

    Why not use UserDefaults to store Codable objects 😉

  • MoreCodable

    MoreCodable expands the possibilities of `Codable`.

  • CodableCSV

    Read and write CSV files row-by-row or through Swift's Codable interface.

  • OPS

    OPS - Build and Run Open Source Unikernels. Quickly and easily build and deploy open source unikernels in tens of seconds. Deploy in any language to any cloud.

  • MessagePack

    A MessagePack encoder and decoder for Codable types (by Flight-School)

    Project mention: Convert a raw byte array to a Struct | reddit.com/r/swift | 2021-01-31

    So yeah, I agree that a standardized data format could help. JSON seems wasteful, especially when working with less powerful chips. Maybe msgpack could be useful for this, which can be used directly with Codable using this library.

  • multipart-kit

    🏞 Parses and serializes multipart-encoded data with Codable support.

    Project mention: How do I split a never-ending http response body containing a mjpeg stream using boundary found in header | reddit.com/r/swift | 2021-04-21

    I’ve never used it and don’t know if it works in client apps, but take a look at https://github.com/vapor/multipart-kit

  • Storez

    💾 Safe, statically-typed, store-agnostic key-value storage written in Swift!

  • TOMLDecoder

    From TOML to Swift Codable types.

  • QuickDB

    A Generic CoreData Manager to accept any type of objects. Fastest way for adding a Database to your project.

  • CodableX

    Make Swift's Codable easier using Property Wrappers.

    Project mention: Make decoding and encoding easier using CodableX | reddit.com/r/SwiftPM | 2021-09-04

    CodableX provides the property wrappers that are pretty handy to decode and encode without implementing from scratch. https://github.com/dscyrescotti/CodableX

  • json

    JSON written in Swift with Stream/Codable support (by swiftstack)

    Project mention: Im trying to parse a json file of 10,000 elements then filtering. Im doing this on a background thread, but this process takes 20 seconds, but I've been told it should even take a second. Help pls. | reddit.com/r/swift | 2021-06-17

    Try using a stream based decoder such as https://github.com/tris-code/json so you don’t have to wait until the whole file is read into memory before parsing.

  • Alter

    Alter is framework to make mapping Codable property and key easier.

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020). The latest post mention was on 2021-09-04.

Swift Codable related posts

Index

What are some of the best open-source Codable projects in Swift? This list will help you:

Project Stars
1 Codextended 1,384
2 BetterCodable 1,229
3 XMLCoder 572
4 Bamboots 436
5 UserDefaultsStore 432
6 MoreCodable 373
7 CodableCSV 316
8 MessagePack 173
9 multipart-kit 90
10 Storez 64
11 TOMLDecoder 45
12 QuickDB 13
13 CodableX 11
14 json 5
15 Alter 1
Find remote jobs at our new job board 99remotejobs.com. There are 30 new remote jobs listed recently.
Are you hiring? Post a new remote job listing for free.
Deliver Cleaner and Safer Code - Right in Your IDE of Choice!
SonarLint is a free and open source IDE extension that identifies and catches bugs and vulnerabilities as you code, directly in the IDE. Install from your favorite IDE marketplace today.
www.sonarlint.org