jsontypedef / json-typedef-codegen

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

Name JSON key when erroring #80

Open docktermj opened 1 year ago

docktermj commented 1 year ago

When running jtd-codegen, I get an error like:

thread 'main' panicked at 'no entry found for key', /project/crates/core/src/codegen/mod.rs:123:44

But there's no hint of what "key" was being used at the time of the error.

For this error, can you provide a hint as to which JSON key has no entry?