Skip to content

feat: implement value only serialization and deserialization#2

Closed
emildinchev wants to merge 63 commits into
mainfrom
feat-value-only-serialization
Closed

feat: implement value only serialization and deserialization#2
emildinchev wants to merge 63 commits into
mainfrom
feat-value-only-serialization

Conversation

@emildinchev

Copy link
Copy Markdown
Collaborator

No description provided.

@arnoweiss

Copy link
Copy Markdown

Depending on the context the serialization of a Meta-Model-Element may change. IdShorts for instance won't be serialized in a SubmodelElementList but must be in a SubmodelElementCollection. The test-resources (json) never hold the idShort themselves. That is kinda confusing but not necessarily a problem. There are however errors in the test-json files that don't comply with the spec (p.163ff).

@sebbader-sap

Copy link
Copy Markdown

I have splitted the ValueOnlyMapper into a JsonValueOnlySerialiser and a JsonValueOnlyDeserialiser class.

adjust to the correct valueonly format
@sebbader-sap sebbader-sap changed the base branch from generated-v3-classes-and-tostring to main November 8, 2023 12:20
@sebbader-sap

Copy link
Copy Markdown

Will be taken care of with eclipse-aas4j#160

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants