Features/json adapter
First draft of JSON serialization and deserialization according to DotAAS, section 5.5 (see #21 (closed)). Basic implementation is finished, but some things are left to do:
-
Add thorough testing (current simple test reaches only 40% coverage) - Further improve testing:
-
Add fail tests for deserialization -
Add example with None-Values
-
-
Verify license of JSON Schema file (If it is not guaranteed to be provided under a free license, we need to rebase the branch to remove it from the history.) - Merge master and adapt serialization/deserialization for changes on master branch:
-
Reference
vs.AASReference
, -
base classes of View
, -
add license header -
use model.KEY_ELEMENTS_CLASSES
instead of copy inaas.adapter.json.json_deserialization
.
-
-
Fix insertion of modelType
for non-Referable classes in JSON serialization
Edited by Michael Thies
Merge request reports
Activity
added 1 commit
- 7fdc004d - aas.examples: add example for a nearly complete asset administration shell with all its elements
added 47 commits
-
7fdc004d...1a17a253 - 30 commits from branch
master
- 83f35e3d - Merge branch 'master' into features/json_adapter
- 521667f0 - adapter.json: Fix changed name of KeyElements.ANNOTATED_RELATIONSHIP_ELEMENT
- 58ce8c98 - adapter.json: Fix usage of Reference and new AASReference
- 2fb14077 - adapter.json: Fix deserialization of View with new base classes
- d3229496 - adapter.json: Fix serialization of Blob with base64 encoding
- 2783f026 - adapter.json: Fix serialization of LangStringSet
- 2da1a6ef - adapter.json: Fix modelType attribute for derived classes
- 8ccf5c36 - adapter.json: Fix serialization of Capability
- 65a34d18 - examples: Fix type error
- 3b6c746e - adapter.json: Use model.KEY_ELEMENTS_CLASSES instead of local copy
- c727b523 - Add license headers to new files
- f913abcf - adapter.json: Fix Reference Key type check in deserialization
- e08918ac - adapter.json: Add deserialization of AnnoatedRelationshipElement
- 0c64ef10 - adapter.json: Allow missing SubmodelElementCollection.ordered attribute
- 122de196 - adapter.json: Fix serialization of Property.valueType
- fc9f4ae6 - model: Add OperationVariable to KeyElements enum
- 62ba0d23 - test: Add json deserialization to the full example test
Toggle commit list-
7fdc004d...1a17a253 - 30 commits from branch
added 1 commit
- 20f66fd7 - adapter.json: add qualifier for test and fix serialization errors
added 1 commit
- 0c1e90ea - adapter.json: Fix deserialization of Qualifier and Formula
Please register or sign in to reply