koki / short

Manageable Kubernetes manifests through a composable, reusable syntax
https://docs.koki.io/short
Apache License 2.0
122 stars 14 forks source link

json deserializer that checks for extraneous fields #135

Closed ublubu closed 6 years ago

ublubu commented 6 years ago

We can help users catch typos if we implement a json deserializer that looks for unexpected fields.

encoding/json currently ignores unexpected fields, so if a user mistypes an optional field, the system doesn't help them find out.