generate icon indicating copy to clipboard operation
generate copied to clipboard

Yaml ?

Open rande opened this issue 8 years ago • 1 comments

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 ...

rande avatar Apr 26 '17 11:04 rande

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!

a-h avatar Apr 26 '17 14:04 a-h