diff options
author | Ujjwal Agarwal <ujjwalcoding012@gmail.com> | 2021-08-06 18:15:01 +0530 |
---|---|---|
committer | Ujjwal Agarwal <ujjwalcoding012@gmail.com> | 2021-08-06 18:15:01 +0530 |
commit | 1bc87f7cbc680e409a1ec51fdfdd93b5d2b49701 (patch) | |
tree | 250966ff349b1e1dab25505774ccddc87a0d6d45 /examples/README.md | |
parent | 1a9690feffaf2257985570998037cefd196e21aa (diff) | |
download | spdx-tools-1bc87f7cbc680e409a1ec51fdfdd93b5d2b49701.tar.gz |
Examples : add example of jsonloader and remove existing conversion examples
- bug fixes in json saver done as well
- test covereage of jsonparser increased
Signed-off-by: Ujjwal Agarwal <ujjwalcoding012@gmail.com>
Diffstat (limited to 'examples/README.md')
-rw-r--r-- | examples/README.md | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/examples/README.md b/examples/README.md index 5009adc..bd4b3d3 100644 --- a/examples/README.md +++ b/examples/README.md @@ -64,17 +64,23 @@ the same identifier in both documents. This example demonstrates loading an SPDX rdf file from disk into memory and then printing the corresponding spdx struct for the document. -## 8-jsonloader +## 8-jsontotv *jsonloader*, *tvsaver* This example demonstrates loading an SPDX json from disk into memory and then re-saving it to a different file on disk in tag-value format. -## 9-jsonsaver +## 9-tvtojson *jsonsaver*, *tvloader* This example demonstrates loading an SPDX tag-value from disk into memory and then re-saving it to a different file on disk in json format. +## 10-jsonloader + +*jsonloader* + +This example demonstrates loading an SPDX json from disk into memory +and then logging some of the attributes to the console. |