Skip to content

Python parser Json -> Strictdoc (technical documentation and requirements management)

License

Notifications You must be signed in to change notification settings

AndreaCicca/json-to-strictdoc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

JSON TO STRICTDOC

Questo progetto permette di convertire un file JSON in un file STRICTDOC (.sdoc)

Note

How to use script python3 strictdock-parser.py <file_input.json> <file_output.sdoc>

Example with the test file

  1. python3 strictdock-parser.py test.json test.sdoc
  2. strictdoc export test.sdoc

Example:

{
    "TITLE": "Test Documentation",
    "SECTIONS": [
        {
            "TITLE": "System Overview",
            "FREETEXT": "This documentation is used to test the script",
            "REQUIREMENTS": [
                {
                    "UID": "TEST-01",
                    "TITLE": "Test the script",
                    "STATEMENT": "This is a Test",
                    "RATIONALE": "This is a test"
                }
            ]
        }
    ]
}

Output generated:

[DOCUMENT]
TITLE: Test Documentation

[FREETEXT]
This requirements specification will illustrate the functionalities of the HTR System of the Isolette Project.
[/FREETEXT]

[SECTION]
TITLE: System Overview

[FREETEXT]
This documentation is used to test the script
[/FREETEXT]

[REQUIREMENT]
UID: TEST-01
TITLE: Test the script
STATEMENT: >>>
This is a Test
<<<
RATIONALE: >>>
This is a test
<<<

[/SECTION]

About

Python parser Json -> Strictdoc (technical documentation and requirements management)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages