All Projects → dduan → TOMLDecoder

dduan / TOMLDecoder

Licence: MIT License
From TOML to Swift Codable types.

Programming Languages

swift
15916 projects
c
50402 projects - #5 most used programming language

Projects that are alternatives of or similar to TOMLDecoder

FireSnapshot
A useful Firebase-Cloud-Firestore Wrapper with Codable.
Stars: ✭ 56 (+7.69%)
Mutual labels:  codable
ash
Simple iOS app using MVVM and Codable
Stars: ✭ 24 (-53.85%)
Mutual labels:  codable
parse it
A python library for parsing multiple types of config files, envvars & command line arguments that takes the headache out of setting app configurations.
Stars: ✭ 86 (+65.38%)
Mutual labels:  toml
AC-iOS-Codeable-and-UserDefaults
No description or website provided.
Stars: ✭ 16 (-69.23%)
Mutual labels:  codable
AlamofireCodable
An Alamofire extension which converts JSON response data into swift objects using Codable
Stars: ✭ 47 (-9.62%)
Mutual labels:  codable
tree-sitter-toml
TOML grammar for tree-sitter
Stars: ✭ 23 (-55.77%)
Mutual labels:  toml
contentful-export
Extract Contentful to Hugo
Stars: ✭ 22 (-57.69%)
Mutual labels:  toml
pytomlpp
A python wrapper for tomlplusplus
Stars: ✭ 56 (+7.69%)
Mutual labels:  toml
tomlcpp
No fanfare TOML C++ Library
Stars: ✭ 21 (-59.62%)
Mutual labels:  toml
tomlify-j0.4
An Object->TOML encoder/converter for TOML v0.4.0 (not v0.4.x)
Stars: ✭ 16 (-69.23%)
Mutual labels:  toml
transfer
Converts from one encoding to another. Supported formats HCL ⇄ JSON ⇄ YAML⇄TOML⇄XML⇄plist⇄pickle⇄properties ...
Stars: ✭ 70 (+34.62%)
Mutual labels:  toml
front-matter
The most featured front matter (yaml, json, neon, toml) parser and dumper for PHP.
Stars: ✭ 23 (-55.77%)
Mutual labels:  toml
Realm-and-Swift-Codable
How to implement Swift 4 Codable with Realm Database
Stars: ✭ 34 (-34.62%)
Mutual labels:  codable
climatecontrol
Python library for loading settings and config data from files and environment variables
Stars: ✭ 20 (-61.54%)
Mutual labels:  toml
Molten
[WIP] Molten - Style-preserving TOML parser.
Stars: ✭ 36 (-30.77%)
Mutual labels:  toml
codable-kit
Conveniences for working with Swift's Codable protocols.
Stars: ✭ 19 (-63.46%)
Mutual labels:  codable
audible-cli
A command line interface for audible package. With the cli you can download your Audible books, cover, chapter files.
Stars: ✭ 142 (+173.08%)
Mutual labels:  toml
configo
Configo is a go library to parse toml configuration using struct tags
Stars: ✭ 33 (-36.54%)
Mutual labels:  toml
tomland
🏝 Bidirectional TOML serialization
Stars: ✭ 103 (+98.08%)
Mutual labels:  toml
tomlj
A Java parser for Tom's Obvious, Minimal Language (TOML).
Stars: ✭ 72 (+38.46%)
Mutual labels:  toml

TOMLDecoder

Swift 5.3 & 5.3.1
Amazon Linux 2
CentOS 8
macOS 11.15
Ubuntu Bionic
Ubuntu Focal

TOML parser for your Swift Codables.

struct Team: Codable {
    struct Player: Codable {
        let id: String
        let health: Int
        let joinDate: Date
    }

    let players: [Player]
}

let team = try TOMLDecoder().decode(Team.self, from: tomlData)

TOMLDecoder has a relatively simple set of APIs. Learn more in the introduction.

Installation

With SwiftPM

.package(url: "https://github.com/dduan/TOMLDecoder", from: "0.2.1")

License

MIT. See LICENSE.md.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].