Package aas_core.aas3_0.jsonization
Class Jsonization.Serialize
java.lang.Object
aas_core.aas3_0.jsonization.Jsonization.Serialize
- Enclosing class:
Jsonization
Serialize instances of meta-model classes to JSON elements.
Here is an example how to serialize an instance of IHasSemantics:
IHasSemantics anInstance = new IHasSemantics(
// ... some constructor arguments ...
);
JsonNode element = Jsonization.Serialize.toJsonObject(
anInstance));
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic com.fasterxml.jackson.databind.JsonNodeSerialize a literal of AasSubmodelElements into a JSON string.static com.fasterxml.jackson.databind.JsonNodeSerialize a literal of AssetKind into a JSON string.static com.fasterxml.jackson.databind.JsonNodeSerialize a literal of DataTypeDefXsd into a JSON string.static com.fasterxml.jackson.databind.JsonNodeSerialize a literal of DataTypeIec61360 into a JSON string.static com.fasterxml.jackson.databind.JsonNodeSerialize a literal of Direction into a JSON string.static com.fasterxml.jackson.databind.JsonNodeSerialize a literal of EntityType into a JSON string.static com.fasterxml.jackson.databind.JsonNodekeyTypesToJsonValue(KeyTypes that) Serialize a literal of KeyTypes into a JSON string.static com.fasterxml.jackson.databind.JsonNodeSerialize a literal of ModellingKind into a JSON string.static com.fasterxml.jackson.databind.JsonNodeSerialize a literal of QualifierKind into a JSON string.static com.fasterxml.jackson.databind.JsonNodeSerialize a literal of ReferenceTypes into a JSON string.static com.fasterxml.jackson.databind.JsonNodeSerialize a literal of StateOfEvent into a JSON string.static com.fasterxml.jackson.databind.JsonNodetoJsonObject(IClass that) Serialize an instance of the meta-model into a JSON object.
-
Constructor Details
-
Serialize
public Serialize()
-
-
Method Details
-
toJsonObject
Serialize an instance of the meta-model into a JSON object. -
modellingKindToJsonValue
Serialize a literal of ModellingKind into a JSON string. -
qualifierKindToJsonValue
Serialize a literal of QualifierKind into a JSON string. -
assetKindToJsonValue
Serialize a literal of AssetKind into a JSON string. -
aasSubmodelElementsToJsonValue
public static com.fasterxml.jackson.databind.JsonNode aasSubmodelElementsToJsonValue(AasSubmodelElements that) Serialize a literal of AasSubmodelElements into a JSON string. -
entityTypeToJsonValue
Serialize a literal of EntityType into a JSON string. -
directionToJsonValue
Serialize a literal of Direction into a JSON string. -
stateOfEventToJsonValue
Serialize a literal of StateOfEvent into a JSON string. -
referenceTypesToJsonValue
public static com.fasterxml.jackson.databind.JsonNode referenceTypesToJsonValue(ReferenceTypes that) Serialize a literal of ReferenceTypes into a JSON string. -
keyTypesToJsonValue
Serialize a literal of KeyTypes into a JSON string. -
dataTypeDefXsdToJsonValue
public static com.fasterxml.jackson.databind.JsonNode dataTypeDefXsdToJsonValue(DataTypeDefXsd that) Serialize a literal of DataTypeDefXsd into a JSON string. -
dataTypeIec61360ToJsonValue
public static com.fasterxml.jackson.databind.JsonNode dataTypeIec61360ToJsonValue(DataTypeIec61360 that) Serialize a literal of DataTypeIec61360 into a JSON string.
-