Anviking / Decodable

[Probably deprecated] Swift 2/3 JSON unmarshalling done (more) right
MIT License
1.04k stars 73 forks source link

Enhancement - spit out swift from given json file #128

Closed johndpope closed 7 years ago

johndpope commented 7 years ago

you can cherry pick from this code https://github.com/ijoshsmith/json2swift

for a complex json file - see HTTP Archive eg. https://github.com/johndpope/HAR-Reader/blob/master/openlab.har

voidref commented 7 years ago

This looks like an interesting idea, kind of equivalent to Protocol Buffers, yes?

I'm not sure that this really aligns well with the intent and scope of the Decodable project.

What I think would make sense is to have a new tool based on json2swift with a dependency on Decodable for this purpose.

johndpope commented 7 years ago

closing this as a spring cleaning exercise. thanks for reply @Anviking