We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
If we want to have special processing for JSON encoding/decoding (e.g., marshal/unmarshal) it would be helpful to enable this via custom struct tags.
For example:
// v1.3 added "compositions" Compositions []CDXCompositions `json:"compositions,omitempty" cdx:"v1.3"` // v1.4 added "vulnerabilities", "signature" Vulnerabilities []CDXVulnerability `json:"vulnerabilities,omitempty" cdx:"v1.4"`
The text was updated successfully, but these errors were encountered:
See https://stackoverflow.com/questions/75023943/golang-unmarshal-with-different-sets-of-struct-tags for some other person's use case
Sorry, something went wrong.
Note: this COULD be used as a crude means to add SVCS (data) tags (although they are longish URIs)
No branches or pull requests
If we want to have special processing for JSON encoding/decoding (e.g., marshal/unmarshal) it would be helpful to enable this via custom struct tags.
For example:
The text was updated successfully, but these errors were encountered: