Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: implement value only serialization and deserialization #2

Closed
wants to merge 63 commits into from

Conversation

emildinchev
Copy link
Collaborator

No description provided.

@arnoweiss
Copy link

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
Collaborator

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
Collaborator

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