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

Add option to specify how to decode unrecognized CBOR tag to any #475

Merged
merged 1 commit into from
Feb 4, 2024

Commits on Feb 3, 2024

  1. Add decoding option for return type of data with an unknown tag

    Adds a decoding option to specify the preferred return type when unmarshalling a data with an unknown tag.
    If this option is not set, Unmarshal returns a value of type Tag{}. This ensures backward compatibility.
    If the option is set, Unmarshal returns the unmarshalled content.
    
    Signed-off-by: Suriyan Subbarayan [email protected]
    ssuriyan7 committed Feb 3, 2024
    Configuration menu
    Copy the full SHA
    2c841f6 View commit details
    Browse the repository at this point in the history