I think TOML is no-go as its readme says:

Be warned, this spec is still changing a lot. Until it's marked as 1.0, you 
should assume that it is unstable and act accordingly.

And I agree about YAML: no parser, more work, and more complicated.

JSON sounds like a sane format.

> On 04 Apr 2016, at 19:41, Max Howell via swift-evolution 
> <[email protected]> wrote:
> 
>> This is a very welcome addition. Thanks!
>> 
>> A nitpicky detail: I’d prefer the format for the lock file to be yaml or 
>> toml over json, since those read a little easier in git diffs (which is, in 
>> my experience with cocoapods lockfiles, the only place I ever interact with 
>> the lockfiles contents).
> 
> Probably we could do TOML.
> 
> I picked JSON because it is a more familiar and more widely supported (by 
> tools) format.
> 
> YAML would be more work since we have no available YAML parser.
> 
> _______________________________________________
> swift-evolution mailing list
> [email protected]
> https://lists.swift.org/mailman/listinfo/swift-evolution

_______________________________________________
swift-evolution mailing list
[email protected]
https://lists.swift.org/mailman/listinfo/swift-evolution

Reply via email to