Closed alexgordtop closed 2 years ago
The GSONTools class is used on VAB level communication and thus does not perform the necessary transformation of the VAB representation of the Submodel (i.e., containing maps of SubmodelElements) to the HTTP/REST API conformant representation (i.e., containing Lists of SubmodelElements).
AAS conformant JSON serialization is done by MetamodelToJSONConverter.
@FrankSchnicke You're right - but that doesn't fix the issue... (updated description)
Thanks for updating the description. Thus, the issue only persists for the statement of the Entity element?
Edit: I missed the updated title - question answered.
Given this test, the Property p1111 inside SubmodelElementCollection sec111 is rendered in json within a map instead of within a list...
Applies to development branch.
Broken:
Should be: