Skip to content

Commit

Permalink
fix: add json tag for Identity
Browse files Browse the repository at this point in the history
Signed-off-by: DmitriyLewen <[email protected]>
  • Loading branch information
DmitriyLewen committed Oct 28, 2024
1 parent 76dd76b commit 80fede1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cyclonedx.go
Original file line number Diff line number Diff line change
Expand Up @@ -623,7 +623,7 @@ type Event struct {
}

type Evidence struct {
Identity *[]EvidenceIdentity `json:",omitempty" xml:"-"`
Identity *[]EvidenceIdentity `json:"identity,omitempty" xml:"-"`
Occurrences *[]EvidenceOccurrence `json:"occurrences,omitempty" xml:"-"`
Callstack *Callstack `json:"callstack,omitempty" xml:"-"`
Licenses *Licenses `json:"licenses,omitempty" xml:"-"`
Expand Down

0 comments on commit 80fede1

Please sign in to comment.