diff options
author | Justin Chadwell <me@jedevc.com> | 2022-12-05 12:14:01 +0000 |
---|---|---|
committer | Justin Chadwell <me@jedevc.com> | 2022-12-05 12:14:01 +0000 |
commit | 452903873695a5a58db4e61e41ffa5c5463f2334 (patch) | |
tree | 5d799e6dc4cfa2979026079e399d9ec0e923c626 /spdx/v2_1 | |
parent | fe9bc5fc34d357646142914e0538fd4c3bafa298 (diff) | |
download | spdx-tools-452903873695a5a58db4e61e41ffa5c5463f2334.tar.gz |
json: hide deprecated and non-spec fields
Some non-spec defined fields and deprecated fields were being
incorrectly exported as part of the v2_1 and v2_2 module, so they were
out-of-sync with v2_3.
Signed-off-by: Justin Chadwell <me@jedevc.com>
Diffstat (limited to 'spdx/v2_1')
-rw-r--r-- | spdx/v2_1/document.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spdx/v2_1/document.go b/spdx/v2_1/document.go index 9721463..21533a0 100644 --- a/spdx/v2_1/document.go +++ b/spdx/v2_1/document.go @@ -61,5 +61,5 @@ type Document struct { Snippets []Snippet `json:"snippets"` // DEPRECATED in version 2.0 of spec - Reviews []*Review + Reviews []*Review `json:"-"` } |