render
render copied to clipboard
Add strict option to DecodeJSON
Adds a strict option to the DecodeJSON function to call the DisallowUnknownFields on the json decoder, returning an error if the json payload contains unknown fields.