-
Notifications
You must be signed in to change notification settings - Fork 61
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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]
- Loading branch information
Showing
2 changed files
with
146 additions
and
51 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters