jsontypedef / json-typedef-codegen

A CLI tool that generates code from JSON Typedef schemas
https://jsontypedef.com/docs/tools/jtd-codegen
MIT License
160 stars 31 forks source link

Updating rust output to be language idomatic #59

Open niko-dunixi opened 2 years ago

niko-dunixi commented 2 years ago

Struct fields should be snake_case, but they were accidentaly set to camelCase.

This resolves issue https://github.com/jsontypedef/json-typedef-codegen/issues/32, but will require https://github.com/jsontypedef/json-typedef-codegen/pull/58 to be merged first in order to actually validate the code change is correct

raunakdoesdev commented 1 year ago

@ucarion this would be helpful if it can be merged!

niko-dunixi commented 1 year ago

@ucarion Like my other PR, I've re-signed the commit.

Kajatin commented 1 year ago

Why is this not merged yet?