Closed ublubu closed 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.
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.