aboutsummaryrefslogtreecommitdiff
path: root/docs/jsonloader.md
diff options
context:
space:
mode:
Diffstat (limited to 'docs/jsonloader.md')
-rw-r--r--docs/jsonloader.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/jsonloader.md b/docs/jsonloader.md
index 5f11ccb..3d6b1b1 100644
--- a/docs/jsonloader.md
+++ b/docs/jsonloader.md
@@ -2,9 +2,9 @@ SPDX-License-Identifier: CC-BY-4.0
## Usage
-A json.Unmarshal function on the spdx.Document2_2 struct is defined so that when the JSON is unmarshalled, the function is called and the JSON can be processed in a custom way. Then a new map[string]interface{} is defined which temporarily holds the unmarshalled JSON. The map is then parsed into the spdx.Document2_2 using functions defined for each different section.
+A json.Unmarshal function on the v2_2.Document struct is defined so that when the JSON is unmarshalled, the function is called and the JSON can be processed in a custom way. Then a new map[string]interface{} is defined which temporarily holds the unmarshalled JSON. The map is then parsed into the v2_2.Document using functions defined for each different section.
-JSON => map[string]interface{} => spdx.Document2_2
+JSON => map[string]interface{} => v2_2.Document
## Some Key Points