Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error on conversion to unstructured for invalid json.Marshalers. #260

Merged

Commits on Jul 5, 2024

  1. Error on conversion to unstructured for invalid json.Marshalers.

    If a type's implementation of json.Marshaler returns bytes representing a valid JSON object or array
    followed by anything other than trailing whitespace, return an error rather than ignoring the
    trailing data. The documentation for the Marshaler interface indicates that implementations
    shouldn't do this, but it is safer to check (as json.Marshal does) than to rely on it.
    benluddy committed Jul 5, 2024
    Configuration menu
    Copy the full SHA
    f07895d View commit details
    Browse the repository at this point in the history