Skip to content
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

Yaml ? #21

Open
rande opened this issue Apr 26, 2017 · 1 comment
Open

Yaml ? #21

rande opened this issue Apr 26, 2017 · 1 comment

Comments

@rande
Copy link

rande commented Apr 26, 2017

Hello,

Might be a stupid question ... but why no supporting yaml ? The yaml format is more suitable to handle configuration with comments than json. The json is more suitable for data exchange ...

@a-h
Copy link
Owner

a-h commented Apr 26, 2017

So you mean to define the JSON Schema as YAML? Yeah that would probably work.

I built the tool simply to reduce the manual effort of converting existing JSON schema into Go structs while I was doing some work with JSON schema and then I've kept it up-to-date when people have found problems.

It's not designed to be like protobufs, swagger.io or anything like that (i.e. define your data types and then build code on that), but if it helps you to add YAML support, go ahead!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants