dduan/TOMLDeserializer
Replaced by https://github.com/dduan/TOMLDecoder
Installation
With CocoaPods
use_frameworks!
pod "TOMLDeserializer"With SwiftPM
.package(url: "https://github.com/dduan/TOMLDeserializer", from: "0.2.5")With Carthage
github "dduan/TOMLDeserializer"Types
In addition to Swift types from the standard library, date and time are represeted with types from the [NetTime] library. The following is a mapping from types defined in the TOML spec to Swift types.
| TOML | Swift | | - | - | | String | Swift.String | | Integer | Swift.Int64 | | Float | Swift.Double | | Boolean | Swift.Bool | | Local Time | NetTime.LocalTime | | Local Date | NetTime.LocalDate | | Local Date-Time | NetTime.LocalDateTime | | Offset Date-Time | NetTime.DateTime | | Array | Swift.[Any] | | Table | Swift.[String: Any] |
[NetTime]: https://github.com/dduan/NetTime
License
MIT. See LICENSE.md.
Package Metadata
Repository: dduan/TOMLDeserializer
Stars: 4
Forks: 0
Open issues: 0
Default branch: main
Primary language: swift
License: MIT
Topics: toml, toml-parser
README: README.md
Archived: yes