-
Notifications
You must be signed in to change notification settings - Fork 43
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Collaborate with quicktype? #108
Comments
At the very least, your users could benefit by using quicktype to infer their schemas from JSON sample data before feeding the schema into Plank. |
@dvdsgl - Hey! Thanks for reaching out. Just looked through Quicktype and there are a lot of similarities in functionality but potentially differences in the output. Plank is intended to create immutable object types regardless of the language but I'm not sure that is the aim of quicktype's generation. What were you thinking in terms of collaboration? I'd personally like to see Swift support added to Plank in the near future. |
Well, for example, if your user doesn't have a JSON schema but only JSON sample data, you could instruct them to do this: $ echo '{ "name": "David", "age": 31 }' | quicktype -l schema | plank -o Person.m quicktype infers the JSON schema from the sample data and pipes to |
And as far as our Objective-C models being mutable, this is just a matter of implementation priority (and knowledge), not opinion. Our Swift models are immutable right now. |
Hi! I have a similar project and am currently working on Objective-C support. Check it out: https://github.com/quicktype/quicktype
We have automated tests, JSON inference in addition to Schema, support for GraphQL queries, an Xcode extension in the App Store, a cross-platform CLI, a web app, and support for 8 output languages.
I would love to find a way to collaborate on at least Objective-C and Swift if you're interested. We use the same license as you, but are implemented in TypeScript.
The text was updated successfully, but these errors were encountered: