Yams
Yams copied to clipboard
A Sweet and Swifty YAML parser.
I have the following object: ```swift struct Example: Codable { var temperature: Double var latitude: Double var longitude: Double } ``` And an example textual representation: ```swift let example =...
Ran into a SwiftyJSON compatibility issue that only occurs when a ':' appears in the parsed string. Here's the code: ```swift struct Model: Codable { let name: String let repo:...
# Background I was checking the feasibility of using `YAMLDecoder` to decode a simple JSON file instead of having to switch between `JSONDecoder`, but I noticed a discrepancy in a...
# Summary Enables access of a Node's tag: e.g. `!DanceEvent` ``` structure: version: 0.1.0 actions: 8a139ac7: !DanceEvent type: happy ``` During the decoding function of Codable objects: ``` required init(from...
I'm working on parsing an OpenAPI spec that I've written in YAML and noticed that this library is having trouble parsing markdown "code" formatting (using inline backticks) that I'm using...
Do this lib supports creation of an ordered map (let's say an array of tuples `[(key, val)]`) from YAML map? Do you plan to add it later?
```yaml templates: - name: 'TCA' description: 'TCA template' - name: 'MVVM' description: '' path: 'Deprecated/MVVM' ``` or ```yaml templates: - name: "TCA" description: "TCA template" - name: "MVVM" description: ""...
Swift can integrate with libFuzzer and seems to work quite well. To seed the fuzzer with a useful corpus of input data, I'm using the yaml from [yaml-test-suite](https://github.com/yaml/yaml-test-suite). References: -...
Hi, I've encountered an issue because of the sexagesimal support in Yams. When you work with scalars, you can expect the `Int` initializer to return `nil` in the following scenarios:...
Hey, are there any plans to remove YAML 1.1 support? YAML 1.2 fixes a lot of common issues with the spec, including removal of [sexagesimal](https://github.com/jpsim/Yams/issues/337), constraining booleans to [only two...