aas_core3_2.jsonization
Provide de/serialization of meta-model classes to/from JSON.
We can not use one-pass deserialization for JSON since the object
properties do not have fixed order, and hence we can not read
modelType property ahead of the remaining properties.
- class aas_core3_2.jsonization.PropertySegment(instance: Mapping[str, Any], name: str)[source]
Represent a property on a path to the erroneous value.
- instance: Final[Mapping[str, Any]]
Instance that contains the property
- name: Final[str]
Name of the property
- class aas_core3_2.jsonization.IndexSegment(container: Iterable[Any], index: int)[source]
Represent an index access on a path to the erroneous value.
- container: Final[Iterable[Any]]
Container that contains the item
- index: Final[int]
Index of the item
- class aas_core3_2.jsonization.KeySegment(mapping: Mapping[str, Any], key: str)[source]
Represent a member access on a path to the erroneous value.
Unlike a
PropertySegment, which names a property of one of our classes, a key names a member of an open JSON-able object. It is known only at run time, and can be any string at all, so it is always rendered as a subscript.- key: Final[str]
Key of the value
- class aas_core3_2.jsonization.Path[source]
Represent the relative path to the erroneous value.
- property segments: Sequence[Union[PropertySegment, IndexSegment, KeySegment]]
Get the segments of the path.
- exception aas_core3_2.jsonization.DeserializationException(cause: str)[source]
Signal that the JSON de-serialization could not be performed.
- cause: Final[str]
Human-readable explanation of the exception’s cause
- aas_core3_2.jsonization.has_semantics_from_jsonable(jsonable: Union[None, bool, int, float, str, Sequence[Any], Mapping[str, Any]]) HasSemantics[source]
Parse an instance of
types.HasSemanticsfrom the JSON-able structurejsonable.- Parameters
jsonable¶ – structure to be parsed
- Returns
Concrete instance of
types.HasSemantics- Raise
DeserializationExceptionif unexpectedjsonable
- aas_core3_2.jsonization.extension_from_jsonable(jsonable: Union[None, bool, int, float, str, Sequence[Any], Mapping[str, Any]]) Extension[source]
Parse an instance of
types.Extensionfrom the JSON-able structurejsonable.- Parameters
jsonable¶ – structure to be parsed
- Returns
Parsed instance of
types.Extension- Raise
DeserializationExceptionif unexpectedjsonable
- aas_core3_2.jsonization.has_extensions_from_jsonable(jsonable: Union[None, bool, int, float, str, Sequence[Any], Mapping[str, Any]]) HasExtensions[source]
Parse an instance of
types.HasExtensionsfrom the JSON-able structurejsonable.- Parameters
jsonable¶ – structure to be parsed
- Returns
Concrete instance of
types.HasExtensions- Raise
DeserializationExceptionif unexpectedjsonable
- aas_core3_2.jsonization.referable_from_jsonable(jsonable: Union[None, bool, int, float, str, Sequence[Any], Mapping[str, Any]]) Referable[source]
Parse an instance of
types.Referablefrom the JSON-able structurejsonable.- Parameters
jsonable¶ – structure to be parsed
- Returns
Concrete instance of
types.Referable- Raise
DeserializationExceptionif unexpectedjsonable
- aas_core3_2.jsonization.identifiable_from_jsonable(jsonable: Union[None, bool, int, float, str, Sequence[Any], Mapping[str, Any]]) Identifiable[source]
Parse an instance of
types.Identifiablefrom the JSON-able structurejsonable.- Parameters
jsonable¶ – structure to be parsed
- Returns
Concrete instance of
types.Identifiable- Raise
DeserializationExceptionif unexpectedjsonable
- aas_core3_2.jsonization.modelling_kind_from_jsonable(jsonable: Union[None, bool, int, float, str, Sequence[Any], Mapping[str, Any]]) ModellingKind[source]
Convert the JSON-able structure
jsonableto a literal oftypes.ModellingKind.- Parameters
jsonable¶ – JSON-able structure to be parsed
- Returns
parsed literal
- Raise
DeserializationExceptionif unexpectedjsonable
- aas_core3_2.jsonization.has_kind_from_jsonable(jsonable: Union[None, bool, int, float, str, Sequence[Any], Mapping[str, Any]]) HasKind[source]
Parse an instance of
types.HasKindfrom the JSON-able structurejsonable.- Parameters
jsonable¶ – structure to be parsed
- Returns
Concrete instance of
types.HasKind- Raise
DeserializationExceptionif unexpectedjsonable
- aas_core3_2.jsonization.has_data_specification_from_jsonable(jsonable: Union[None, bool, int, float, str, Sequence[Any], Mapping[str, Any]]) HasDataSpecification[source]
Parse an instance of
types.HasDataSpecificationfrom the JSON-able structurejsonable.- Parameters
jsonable¶ – structure to be parsed
- Returns
Concrete instance of
types.HasDataSpecification- Raise
DeserializationExceptionif unexpectedjsonable
- aas_core3_2.jsonization.administrative_information_from_jsonable(jsonable: Union[None, bool, int, float, str, Sequence[Any], Mapping[str, Any]]) AdministrativeInformation[source]
Parse an instance of
types.AdministrativeInformationfrom the JSON-able structurejsonable.- Parameters
jsonable¶ – structure to be parsed
- Returns
Parsed instance of
types.AdministrativeInformation- Raise
DeserializationExceptionif unexpectedjsonable
- aas_core3_2.jsonization.qualifiable_from_jsonable(jsonable: Union[None, bool, int, float, str, Sequence[Any], Mapping[str, Any]]) Qualifiable[source]
Parse an instance of
types.Qualifiablefrom the JSON-able structurejsonable.- Parameters
jsonable¶ – structure to be parsed
- Returns
Concrete instance of
types.Qualifiable- Raise
DeserializationExceptionif unexpectedjsonable
- aas_core3_2.jsonization.qualifier_kind_from_jsonable(jsonable: Union[None, bool, int, float, str, Sequence[Any], Mapping[str, Any]]) QualifierKind[source]
Convert the JSON-able structure
jsonableto a literal oftypes.QualifierKind.- Parameters
jsonable¶ – JSON-able structure to be parsed
- Returns
parsed literal
- Raise
DeserializationExceptionif unexpectedjsonable
- aas_core3_2.jsonization.qualifier_from_jsonable(jsonable: Union[None, bool, int, float, str, Sequence[Any], Mapping[str, Any]]) Qualifier[source]
Parse an instance of
types.Qualifierfrom the JSON-able structurejsonable.- Parameters
jsonable¶ – structure to be parsed
- Returns
Parsed instance of
types.Qualifier- Raise
DeserializationExceptionif unexpectedjsonable
- aas_core3_2.jsonization.asset_administration_shell_from_jsonable(jsonable: Union[None, bool, int, float, str, Sequence[Any], Mapping[str, Any]]) AssetAdministrationShell[source]
Parse an instance of
types.AssetAdministrationShellfrom the JSON-able structurejsonable.- Parameters
jsonable¶ – structure to be parsed
- Returns
Parsed instance of
types.AssetAdministrationShell- Raise
DeserializationExceptionif unexpectedjsonable
- aas_core3_2.jsonization.asset_information_from_jsonable(jsonable: Union[None, bool, int, float, str, Sequence[Any], Mapping[str, Any]]) AssetInformation[source]
Parse an instance of
types.AssetInformationfrom the JSON-able structurejsonable.- Parameters
jsonable¶ – structure to be parsed
- Returns
Parsed instance of
types.AssetInformation- Raise
DeserializationExceptionif unexpectedjsonable
- aas_core3_2.jsonization.resource_from_jsonable(jsonable: Union[None, bool, int, float, str, Sequence[Any], Mapping[str, Any]]) Resource[source]
Parse an instance of
types.Resourcefrom the JSON-able structurejsonable.- Parameters
jsonable¶ – structure to be parsed
- Returns
Parsed instance of
types.Resource- Raise
DeserializationExceptionif unexpectedjsonable
- aas_core3_2.jsonization.asset_kind_from_jsonable(jsonable: Union[None, bool, int, float, str, Sequence[Any], Mapping[str, Any]]) AssetKind[source]
Convert the JSON-able structure
jsonableto a literal oftypes.AssetKind.- Parameters
jsonable¶ – JSON-able structure to be parsed
- Returns
parsed literal
- Raise
DeserializationExceptionif unexpectedjsonable
- aas_core3_2.jsonization.specific_asset_id_from_jsonable(jsonable: Union[None, bool, int, float, str, Sequence[Any], Mapping[str, Any]]) SpecificAssetID[source]
Parse an instance of
types.SpecificAssetIDfrom the JSON-able structurejsonable.- Parameters
jsonable¶ – structure to be parsed
- Returns
Parsed instance of
types.SpecificAssetID- Raise
DeserializationExceptionif unexpectedjsonable
- aas_core3_2.jsonization.submodel_from_jsonable(jsonable: Union[None, bool, int, float, str, Sequence[Any], Mapping[str, Any]]) Submodel[source]
Parse an instance of
types.Submodelfrom the JSON-able structurejsonable.- Parameters
jsonable¶ – structure to be parsed
- Returns
Parsed instance of
types.Submodel- Raise
DeserializationExceptionif unexpectedjsonable
- aas_core3_2.jsonization.submodel_element_from_jsonable(jsonable: Union[None, bool, int, float, str, Sequence[Any], Mapping[str, Any]]) SubmodelElement[source]
Parse an instance of
types.SubmodelElementfrom the JSON-able structurejsonable.- Parameters
jsonable¶ – structure to be parsed
- Returns
Concrete instance of
types.SubmodelElement- Raise
DeserializationExceptionif unexpectedjsonable
- aas_core3_2.jsonization.relationship_element_from_jsonable(jsonable: Union[None, bool, int, float, str, Sequence[Any], Mapping[str, Any]]) RelationshipElement[source]
Parse an instance of
types.RelationshipElementfrom the JSON-able structurejsonable.- Parameters
jsonable¶ – structure to be parsed
- Returns
Concrete instance of
types.RelationshipElement- Raise
DeserializationExceptionif unexpectedjsonable
- aas_core3_2.jsonization.aas_submodel_elements_from_jsonable(jsonable: Union[None, bool, int, float, str, Sequence[Any], Mapping[str, Any]]) AASSubmodelElements[source]
Convert the JSON-able structure
jsonableto a literal oftypes.AASSubmodelElements.- Parameters
jsonable¶ – JSON-able structure to be parsed
- Returns
parsed literal
- Raise
DeserializationExceptionif unexpectedjsonable
- aas_core3_2.jsonization.submodel_element_list_from_jsonable(jsonable: Union[None, bool, int, float, str, Sequence[Any], Mapping[str, Any]]) SubmodelElementList[source]
Parse an instance of
types.SubmodelElementListfrom the JSON-able structurejsonable.- Parameters
jsonable¶ – structure to be parsed
- Returns
Parsed instance of
types.SubmodelElementList- Raise
DeserializationExceptionif unexpectedjsonable
- aas_core3_2.jsonization.submodel_element_collection_from_jsonable(jsonable: Union[None, bool, int, float, str, Sequence[Any], Mapping[str, Any]]) SubmodelElementCollection[source]
Parse an instance of
types.SubmodelElementCollectionfrom the JSON-able structurejsonable.- Parameters
jsonable¶ – structure to be parsed
- Returns
Parsed instance of
types.SubmodelElementCollection- Raise
DeserializationExceptionif unexpectedjsonable
- aas_core3_2.jsonization.data_element_from_jsonable(jsonable: Union[None, bool, int, float, str, Sequence[Any], Mapping[str, Any]]) DataElement[source]
Parse an instance of
types.DataElementfrom the JSON-able structurejsonable.- Parameters
jsonable¶ – structure to be parsed
- Returns
Concrete instance of
types.DataElement- Raise
DeserializationExceptionif unexpectedjsonable
- aas_core3_2.jsonization.property_from_jsonable(jsonable: Union[None, bool, int, float, str, Sequence[Any], Mapping[str, Any]]) Property[source]
Parse an instance of
types.Propertyfrom the JSON-able structurejsonable.- Parameters
jsonable¶ – structure to be parsed
- Returns
Parsed instance of
types.Property- Raise
DeserializationExceptionif unexpectedjsonable
- aas_core3_2.jsonization.multi_language_property_from_jsonable(jsonable: Union[None, bool, int, float, str, Sequence[Any], Mapping[str, Any]]) MultiLanguageProperty[source]
Parse an instance of
types.MultiLanguagePropertyfrom the JSON-able structurejsonable.- Parameters
jsonable¶ – structure to be parsed
- Returns
Parsed instance of
types.MultiLanguageProperty- Raise
DeserializationExceptionif unexpectedjsonable
- aas_core3_2.jsonization.range_from_jsonable(jsonable: Union[None, bool, int, float, str, Sequence[Any], Mapping[str, Any]]) Range[source]
Parse an instance of
types.Rangefrom the JSON-able structurejsonable.- Parameters
jsonable¶ – structure to be parsed
- Returns
Parsed instance of
types.Range- Raise
DeserializationExceptionif unexpectedjsonable
- aas_core3_2.jsonization.reference_element_from_jsonable(jsonable: Union[None, bool, int, float, str, Sequence[Any], Mapping[str, Any]]) ReferenceElement[source]
Parse an instance of
types.ReferenceElementfrom the JSON-able structurejsonable.- Parameters
jsonable¶ – structure to be parsed
- Returns
Parsed instance of
types.ReferenceElement- Raise
DeserializationExceptionif unexpectedjsonable
- aas_core3_2.jsonization.blob_from_jsonable(jsonable: Union[None, bool, int, float, str, Sequence[Any], Mapping[str, Any]]) Blob[source]
Parse an instance of
types.Blobfrom the JSON-able structurejsonable.- Parameters
jsonable¶ – structure to be parsed
- Returns
Parsed instance of
types.Blob- Raise
DeserializationExceptionif unexpectedjsonable
- aas_core3_2.jsonization.file_from_jsonable(jsonable: Union[None, bool, int, float, str, Sequence[Any], Mapping[str, Any]]) File[source]
Parse an instance of
types.Filefrom the JSON-able structurejsonable.- Parameters
jsonable¶ – structure to be parsed
- Returns
Parsed instance of
types.File- Raise
DeserializationExceptionif unexpectedjsonable
- aas_core3_2.jsonization.annotated_relationship_element_from_jsonable(jsonable: Union[None, bool, int, float, str, Sequence[Any], Mapping[str, Any]]) AnnotatedRelationshipElement[source]
Parse an instance of
types.AnnotatedRelationshipElementfrom the JSON-able structurejsonable.- Parameters
jsonable¶ – structure to be parsed
- Returns
Parsed instance of
types.AnnotatedRelationshipElement- Raise
DeserializationExceptionif unexpectedjsonable
- aas_core3_2.jsonization.entity_from_jsonable(jsonable: Union[None, bool, int, float, str, Sequence[Any], Mapping[str, Any]]) Entity[source]
Parse an instance of
types.Entityfrom the JSON-able structurejsonable.- Parameters
jsonable¶ – structure to be parsed
- Returns
Parsed instance of
types.Entity- Raise
DeserializationExceptionif unexpectedjsonable
- aas_core3_2.jsonization.entity_type_from_jsonable(jsonable: Union[None, bool, int, float, str, Sequence[Any], Mapping[str, Any]]) EntityType[source]
Convert the JSON-able structure
jsonableto a literal oftypes.EntityType.- Parameters
jsonable¶ – JSON-able structure to be parsed
- Returns
parsed literal
- Raise
DeserializationExceptionif unexpectedjsonable
- aas_core3_2.jsonization.direction_from_jsonable(jsonable: Union[None, bool, int, float, str, Sequence[Any], Mapping[str, Any]]) Direction[source]
Convert the JSON-able structure
jsonableto a literal oftypes.Direction.- Parameters
jsonable¶ – JSON-able structure to be parsed
- Returns
parsed literal
- Raise
DeserializationExceptionif unexpectedjsonable
- aas_core3_2.jsonization.state_of_event_from_jsonable(jsonable: Union[None, bool, int, float, str, Sequence[Any], Mapping[str, Any]]) StateOfEvent[source]
Convert the JSON-able structure
jsonableto a literal oftypes.StateOfEvent.- Parameters
jsonable¶ – JSON-able structure to be parsed
- Returns
parsed literal
- Raise
DeserializationExceptionif unexpectedjsonable
- aas_core3_2.jsonization.event_payload_from_jsonable(jsonable: Union[None, bool, int, float, str, Sequence[Any], Mapping[str, Any]]) EventPayload[source]
Parse an instance of
types.EventPayloadfrom the JSON-able structurejsonable.- Parameters
jsonable¶ – structure to be parsed
- Returns
Parsed instance of
types.EventPayload- Raise
DeserializationExceptionif unexpectedjsonable
- aas_core3_2.jsonization.event_element_from_jsonable(jsonable: Union[None, bool, int, float, str, Sequence[Any], Mapping[str, Any]]) EventElement[source]
Parse an instance of
types.EventElementfrom the JSON-able structurejsonable.- Parameters
jsonable¶ – structure to be parsed
- Returns
Concrete instance of
types.EventElement- Raise
DeserializationExceptionif unexpectedjsonable
- aas_core3_2.jsonization.basic_event_element_from_jsonable(jsonable: Union[None, bool, int, float, str, Sequence[Any], Mapping[str, Any]]) BasicEventElement[source]
Parse an instance of
types.BasicEventElementfrom the JSON-able structurejsonable.- Parameters
jsonable¶ – structure to be parsed
- Returns
Parsed instance of
types.BasicEventElement- Raise
DeserializationExceptionif unexpectedjsonable
- aas_core3_2.jsonization.operation_from_jsonable(jsonable: Union[None, bool, int, float, str, Sequence[Any], Mapping[str, Any]]) Operation[source]
Parse an instance of
types.Operationfrom the JSON-able structurejsonable.- Parameters
jsonable¶ – structure to be parsed
- Returns
Parsed instance of
types.Operation- Raise
DeserializationExceptionif unexpectedjsonable
- aas_core3_2.jsonization.operation_variable_from_jsonable(jsonable: Union[None, bool, int, float, str, Sequence[Any], Mapping[str, Any]]) OperationVariable[source]
Parse an instance of
types.OperationVariablefrom the JSON-able structurejsonable.- Parameters
jsonable¶ – structure to be parsed
- Returns
Parsed instance of
types.OperationVariable- Raise
DeserializationExceptionif unexpectedjsonable
- aas_core3_2.jsonization.capability_from_jsonable(jsonable: Union[None, bool, int, float, str, Sequence[Any], Mapping[str, Any]]) Capability[source]
Parse an instance of
types.Capabilityfrom the JSON-able structurejsonable.- Parameters
jsonable¶ – structure to be parsed
- Returns
Parsed instance of
types.Capability- Raise
DeserializationExceptionif unexpectedjsonable
- aas_core3_2.jsonization.concept_description_from_jsonable(jsonable: Union[None, bool, int, float, str, Sequence[Any], Mapping[str, Any]]) ConceptDescription[source]
Parse an instance of
types.ConceptDescriptionfrom the JSON-able structurejsonable.- Parameters
jsonable¶ – structure to be parsed
- Returns
Parsed instance of
types.ConceptDescription- Raise
DeserializationExceptionif unexpectedjsonable
- aas_core3_2.jsonization.reference_types_from_jsonable(jsonable: Union[None, bool, int, float, str, Sequence[Any], Mapping[str, Any]]) ReferenceTypes[source]
Convert the JSON-able structure
jsonableto a literal oftypes.ReferenceTypes.- Parameters
jsonable¶ – JSON-able structure to be parsed
- Returns
parsed literal
- Raise
DeserializationExceptionif unexpectedjsonable
- aas_core3_2.jsonization.reference_from_jsonable(jsonable: Union[None, bool, int, float, str, Sequence[Any], Mapping[str, Any]]) Reference[source]
Parse an instance of
types.Referencefrom the JSON-able structurejsonable.- Parameters
jsonable¶ – structure to be parsed
- Returns
Parsed instance of
types.Reference- Raise
DeserializationExceptionif unexpectedjsonable
- aas_core3_2.jsonization.key_from_jsonable(jsonable: Union[None, bool, int, float, str, Sequence[Any], Mapping[str, Any]]) Key[source]
Parse an instance of
types.Keyfrom the JSON-able structurejsonable.- Parameters
jsonable¶ – structure to be parsed
- Returns
Parsed instance of
types.Key- Raise
DeserializationExceptionif unexpectedjsonable
- aas_core3_2.jsonization.key_types_from_jsonable(jsonable: Union[None, bool, int, float, str, Sequence[Any], Mapping[str, Any]]) KeyTypes[source]
Convert the JSON-able structure
jsonableto a literal oftypes.KeyTypes.- Parameters
jsonable¶ – JSON-able structure to be parsed
- Returns
parsed literal
- Raise
DeserializationExceptionif unexpectedjsonable
- aas_core3_2.jsonization.data_type_def_xsd_from_jsonable(jsonable: Union[None, bool, int, float, str, Sequence[Any], Mapping[str, Any]]) DataTypeDefXSD[source]
Convert the JSON-able structure
jsonableto a literal oftypes.DataTypeDefXSD.- Parameters
jsonable¶ – JSON-able structure to be parsed
- Returns
parsed literal
- Raise
DeserializationExceptionif unexpectedjsonable
- aas_core3_2.jsonization.abstract_lang_string_from_jsonable(jsonable: Union[None, bool, int, float, str, Sequence[Any], Mapping[str, Any]]) AbstractLangString[source]
Parse an instance of
types.AbstractLangStringfrom the JSON-able structurejsonable.- Parameters
jsonable¶ – structure to be parsed
- Returns
Concrete instance of
types.AbstractLangString- Raise
DeserializationExceptionif unexpectedjsonable
- aas_core3_2.jsonization.lang_string_name_type_from_jsonable(jsonable: Union[None, bool, int, float, str, Sequence[Any], Mapping[str, Any]]) LangStringNameType[source]
Parse an instance of
types.LangStringNameTypefrom the JSON-able structurejsonable.- Parameters
jsonable¶ – structure to be parsed
- Returns
Parsed instance of
types.LangStringNameType- Raise
DeserializationExceptionif unexpectedjsonable
- aas_core3_2.jsonization.lang_string_text_type_from_jsonable(jsonable: Union[None, bool, int, float, str, Sequence[Any], Mapping[str, Any]]) LangStringTextType[source]
Parse an instance of
types.LangStringTextTypefrom the JSON-able structurejsonable.- Parameters
jsonable¶ – structure to be parsed
- Returns
Parsed instance of
types.LangStringTextType- Raise
DeserializationExceptionif unexpectedjsonable
- aas_core3_2.jsonization.environment_from_jsonable(jsonable: Union[None, bool, int, float, str, Sequence[Any], Mapping[str, Any]]) Environment[source]
Parse an instance of
types.Environmentfrom the JSON-able structurejsonable.- Parameters
jsonable¶ – structure to be parsed
- Returns
Parsed instance of
types.Environment- Raise
DeserializationExceptionif unexpectedjsonable
- aas_core3_2.jsonization.data_specification_content_from_jsonable(jsonable: Union[None, bool, int, float, str, Sequence[Any], Mapping[str, Any]]) DataSpecificationContent[source]
Parse an instance of
types.DataSpecificationContentfrom the JSON-able structurejsonable.- Parameters
jsonable¶ – structure to be parsed
- Returns
Concrete instance of
types.DataSpecificationContent- Raise
DeserializationExceptionif unexpectedjsonable
- aas_core3_2.jsonization.embedded_data_specification_from_jsonable(jsonable: Union[None, bool, int, float, str, Sequence[Any], Mapping[str, Any]]) EmbeddedDataSpecification[source]
Parse an instance of
types.EmbeddedDataSpecificationfrom the JSON-able structurejsonable.- Parameters
jsonable¶ – structure to be parsed
- Returns
Parsed instance of
types.EmbeddedDataSpecification- Raise
DeserializationExceptionif unexpectedjsonable
- aas_core3_2.jsonization.data_type_iec_61360_from_jsonable(jsonable: Union[None, bool, int, float, str, Sequence[Any], Mapping[str, Any]]) DataTypeIEC61360[source]
Convert the JSON-able structure
jsonableto a literal oftypes.DataTypeIEC61360.- Parameters
jsonable¶ – JSON-able structure to be parsed
- Returns
parsed literal
- Raise
DeserializationExceptionif unexpectedjsonable
- aas_core3_2.jsonization.level_type_from_jsonable(jsonable: Union[None, bool, int, float, str, Sequence[Any], Mapping[str, Any]]) LevelType[source]
Parse an instance of
types.LevelTypefrom the JSON-able structurejsonable.- Parameters
jsonable¶ – structure to be parsed
- Returns
Parsed instance of
types.LevelType- Raise
DeserializationExceptionif unexpectedjsonable
- aas_core3_2.jsonization.value_reference_pair_from_jsonable(jsonable: Union[None, bool, int, float, str, Sequence[Any], Mapping[str, Any]]) ValueReferencePair[source]
Parse an instance of
types.ValueReferencePairfrom the JSON-able structurejsonable.- Parameters
jsonable¶ – structure to be parsed
- Returns
Parsed instance of
types.ValueReferencePair- Raise
DeserializationExceptionif unexpectedjsonable
- aas_core3_2.jsonization.value_list_from_jsonable(jsonable: Union[None, bool, int, float, str, Sequence[Any], Mapping[str, Any]]) ValueList[source]
Parse an instance of
types.ValueListfrom the JSON-able structurejsonable.- Parameters
jsonable¶ – structure to be parsed
- Returns
Parsed instance of
types.ValueList- Raise
DeserializationExceptionif unexpectedjsonable
- aas_core3_2.jsonization.lang_string_preferred_name_type_iec_61360_from_jsonable(jsonable: Union[None, bool, int, float, str, Sequence[Any], Mapping[str, Any]]) LangStringPreferredNameTypeIEC61360[source]
Parse an instance of
types.LangStringPreferredNameTypeIEC61360from the JSON-able structurejsonable.- Parameters
jsonable¶ – structure to be parsed
- Returns
Parsed instance of
types.LangStringPreferredNameTypeIEC61360- Raise
DeserializationExceptionif unexpectedjsonable
- aas_core3_2.jsonization.lang_string_short_name_type_iec_61360_from_jsonable(jsonable: Union[None, bool, int, float, str, Sequence[Any], Mapping[str, Any]]) LangStringShortNameTypeIEC61360[source]
Parse an instance of
types.LangStringShortNameTypeIEC61360from the JSON-able structurejsonable.- Parameters
jsonable¶ – structure to be parsed
- Returns
Parsed instance of
types.LangStringShortNameTypeIEC61360- Raise
DeserializationExceptionif unexpectedjsonable
- aas_core3_2.jsonization.lang_string_definition_type_iec_61360_from_jsonable(jsonable: Union[None, bool, int, float, str, Sequence[Any], Mapping[str, Any]]) LangStringDefinitionTypeIEC61360[source]
Parse an instance of
types.LangStringDefinitionTypeIEC61360from the JSON-able structurejsonable.- Parameters
jsonable¶ – structure to be parsed
- Returns
Parsed instance of
types.LangStringDefinitionTypeIEC61360- Raise
DeserializationExceptionif unexpectedjsonable
- aas_core3_2.jsonization.lang_string_uom_from_jsonable(jsonable: Union[None, bool, int, float, str, Sequence[Any], Mapping[str, Any]]) LangStringUom[source]
Parse an instance of
types.LangStringUomfrom the JSON-able structurejsonable.- Parameters
jsonable¶ – structure to be parsed
- Returns
Parsed instance of
types.LangStringUom- Raise
DeserializationExceptionif unexpectedjsonable
- aas_core3_2.jsonization.definition_type_uom_from_jsonable(jsonable: Union[None, bool, int, float, str, Sequence[Any], Mapping[str, Any]]) DefinitionTypeUom[source]
Parse an instance of
types.DefinitionTypeUomfrom the JSON-able structurejsonable.- Parameters
jsonable¶ – structure to be parsed
- Returns
Parsed instance of
types.DefinitionTypeUom- Raise
DeserializationExceptionif unexpectedjsonable
- aas_core3_2.jsonization.data_specification_uom_from_jsonable(jsonable: Union[None, bool, int, float, str, Sequence[Any], Mapping[str, Any]]) DataSpecificationUom[source]
Parse an instance of
types.DataSpecificationUomfrom the JSON-able structurejsonable.- Parameters
jsonable¶ – structure to be parsed
- Returns
Parsed instance of
types.DataSpecificationUom- Raise
DeserializationExceptionif unexpectedjsonable
- aas_core3_2.jsonization.data_specification_iec_61360_from_jsonable(jsonable: Union[None, bool, int, float, str, Sequence[Any], Mapping[str, Any]]) DataSpecificationIEC61360[source]
Parse an instance of
types.DataSpecificationIEC61360from the JSON-able structurejsonable.- Parameters
jsonable¶ – structure to be parsed
- Returns
Parsed instance of
types.DataSpecificationIEC61360- Raise
DeserializationExceptionif unexpectedjsonable
- aas_core3_2.jsonization.serialization_format_from_jsonable(jsonable: Union[None, bool, int, float, str, Sequence[Any], Mapping[str, Any]]) SerializationFormat[source]
Convert the JSON-able structure
jsonableto a literal oftypes.SerializationFormat.- Parameters
jsonable¶ – JSON-able structure to be parsed
- Returns
parsed literal
- Raise
DeserializationExceptionif unexpectedjsonable
- aas_core3_2.jsonization.descriptor_from_jsonable(jsonable: Union[None, bool, int, float, str, Sequence[Any], Mapping[str, Any]]) Descriptor[source]
Parse an instance of
types.Descriptorfrom the JSON-able structurejsonable.- Parameters
jsonable¶ – structure to be parsed
- Returns
Concrete instance of
types.Descriptor- Raise
DeserializationExceptionif unexpectedjsonable
- aas_core3_2.jsonization.asset_administration_shell_descriptor_from_jsonable(jsonable: Union[None, bool, int, float, str, Sequence[Any], Mapping[str, Any]]) AssetAdministrationShellDescriptor[source]
Parse an instance of
types.AssetAdministrationShellDescriptorfrom the JSON-able structurejsonable.- Parameters
jsonable¶ – structure to be parsed
- Returns
Parsed instance of
types.AssetAdministrationShellDescriptor- Raise
DeserializationExceptionif unexpectedjsonable
- aas_core3_2.jsonization.submodel_descriptor_from_jsonable(jsonable: Union[None, bool, int, float, str, Sequence[Any], Mapping[str, Any]]) SubmodelDescriptor[source]
Parse an instance of
types.SubmodelDescriptorfrom the JSON-able structurejsonable.- Parameters
jsonable¶ – structure to be parsed
- Returns
Parsed instance of
types.SubmodelDescriptor- Raise
DeserializationExceptionif unexpectedjsonable
- aas_core3_2.jsonization.endpoint_from_jsonable(jsonable: Union[None, bool, int, float, str, Sequence[Any], Mapping[str, Any]]) Endpoint[source]
Parse an instance of
types.Endpointfrom the JSON-able structurejsonable.- Parameters
jsonable¶ – structure to be parsed
- Returns
Parsed instance of
types.Endpoint- Raise
DeserializationExceptionif unexpectedjsonable
- aas_core3_2.jsonization.protocol_information_from_jsonable(jsonable: Union[None, bool, int, float, str, Sequence[Any], Mapping[str, Any]]) ProtocolInformation[source]
Parse an instance of
types.ProtocolInformationfrom the JSON-able structurejsonable.- Parameters
jsonable¶ – structure to be parsed
- Returns
Parsed instance of
types.ProtocolInformation- Raise
DeserializationExceptionif unexpectedjsonable
- aas_core3_2.jsonization.security_attribute_object_from_jsonable(jsonable: Union[None, bool, int, float, str, Sequence[Any], Mapping[str, Any]]) SecurityAttributeObject[source]
Parse an instance of
types.SecurityAttributeObjectfrom the JSON-able structurejsonable.- Parameters
jsonable¶ – structure to be parsed
- Returns
Parsed instance of
types.SecurityAttributeObject- Raise
DeserializationExceptionif unexpectedjsonable
- aas_core3_2.jsonization.security_type_enum_from_jsonable(jsonable: Union[None, bool, int, float, str, Sequence[Any], Mapping[str, Any]]) SecurityTypeEnum[source]
Convert the JSON-able structure
jsonableto a literal oftypes.SecurityTypeEnum.- Parameters
jsonable¶ – JSON-able structure to be parsed
- Returns
parsed literal
- Raise
DeserializationExceptionif unexpectedjsonable
- aas_core3_2.jsonization.asset_link_from_jsonable(jsonable: Union[None, bool, int, float, str, Sequence[Any], Mapping[str, Any]]) AssetLink[source]
Parse an instance of
types.AssetLinkfrom the JSON-able structurejsonable.- Parameters
jsonable¶ – structure to be parsed
- Returns
Parsed instance of
types.AssetLink- Raise
DeserializationExceptionif unexpectedjsonable
- aas_core3_2.jsonization.service_description_from_jsonable(jsonable: Union[None, bool, int, float, str, Sequence[Any], Mapping[str, Any]]) ServiceDescription[source]
Parse an instance of
types.ServiceDescriptionfrom the JSON-able structurejsonable.- Parameters
jsonable¶ – structure to be parsed
- Returns
Parsed instance of
types.ServiceDescription- Raise
DeserializationExceptionif unexpectedjsonable
- aas_core3_2.jsonization.service_specification_profile_enum_from_jsonable(jsonable: Union[None, bool, int, float, str, Sequence[Any], Mapping[str, Any]]) ServiceSpecificationProfileEnum[source]
Convert the JSON-able structure
jsonableto a literal oftypes.ServiceSpecificationProfileEnum.- Parameters
jsonable¶ – JSON-able structure to be parsed
- Returns
parsed literal
- Raise
DeserializationExceptionif unexpectedjsonable
- aas_core3_2.jsonization.recent_change_from_jsonable(jsonable: Union[None, bool, int, float, str, Sequence[Any], Mapping[str, Any]]) RecentChange[source]
Parse an instance of
types.RecentChangefrom the JSON-able structurejsonable.- Parameters
jsonable¶ – structure to be parsed
- Returns
Concrete instance of
types.RecentChange- Raise
DeserializationExceptionif unexpectedjsonable
- aas_core3_2.jsonization.asset_administration_shell_recent_change_from_jsonable(jsonable: Union[None, bool, int, float, str, Sequence[Any], Mapping[str, Any]]) AssetAdministrationShellRecentChange[source]
Parse an instance of
types.AssetAdministrationShellRecentChangefrom the JSON-able structurejsonable.- Parameters
jsonable¶ – structure to be parsed
- Returns
Parsed instance of
types.AssetAdministrationShellRecentChange- Raise
DeserializationExceptionif unexpectedjsonable
- aas_core3_2.jsonization.concept_description_recent_change_from_jsonable(jsonable: Union[None, bool, int, float, str, Sequence[Any], Mapping[str, Any]]) ConceptDescriptionRecentChange[source]
Parse an instance of
types.ConceptDescriptionRecentChangefrom the JSON-able structurejsonable.- Parameters
jsonable¶ – structure to be parsed
- Returns
Parsed instance of
types.ConceptDescriptionRecentChange- Raise
DeserializationExceptionif unexpectedjsonable
- aas_core3_2.jsonization.submodel_recent_change_from_jsonable(jsonable: Union[None, bool, int, float, str, Sequence[Any], Mapping[str, Any]]) SubmodelRecentChange[source]
Parse an instance of
types.SubmodelRecentChangefrom the JSON-able structurejsonable.- Parameters
jsonable¶ – structure to be parsed
- Returns
Parsed instance of
types.SubmodelRecentChange- Raise
DeserializationExceptionif unexpectedjsonable
- aas_core3_2.jsonization.status_code_from_jsonable(jsonable: Union[None, bool, int, float, str, Sequence[Any], Mapping[str, Any]]) StatusCode[source]
Convert the JSON-able structure
jsonableto a literal oftypes.StatusCode.- Parameters
jsonable¶ – JSON-able structure to be parsed
- Returns
parsed literal
- Raise
DeserializationExceptionif unexpectedjsonable
- aas_core3_2.jsonization.result_from_jsonable(jsonable: Union[None, bool, int, float, str, Sequence[Any], Mapping[str, Any]]) Result[source]
Parse an instance of
types.Resultfrom the JSON-able structurejsonable.- Parameters
jsonable¶ – structure to be parsed
- Returns
Parsed instance of
types.Result- Raise
DeserializationExceptionif unexpectedjsonable
- aas_core3_2.jsonization.message_from_jsonable(jsonable: Union[None, bool, int, float, str, Sequence[Any], Mapping[str, Any]]) Message[source]
Parse an instance of
types.Messagefrom the JSON-able structurejsonable.- Parameters
jsonable¶ – structure to be parsed
- Returns
Parsed instance of
types.Message- Raise
DeserializationExceptionif unexpectedjsonable
- aas_core3_2.jsonization.message_type_enum_from_jsonable(jsonable: Union[None, bool, int, float, str, Sequence[Any], Mapping[str, Any]]) MessageTypeEnum[source]
Convert the JSON-able structure
jsonableto a literal oftypes.MessageTypeEnum.- Parameters
jsonable¶ – JSON-able structure to be parsed
- Returns
parsed literal
- Raise
DeserializationExceptionif unexpectedjsonable
- aas_core3_2.jsonization.operation_request_from_jsonable(jsonable: Union[None, bool, int, float, str, Sequence[Any], Mapping[str, Any]]) OperationRequest[source]
Parse an instance of
types.OperationRequestfrom the JSON-able structurejsonable.- Parameters
jsonable¶ – structure to be parsed
- Returns
Parsed instance of
types.OperationRequest- Raise
DeserializationExceptionif unexpectedjsonable
- aas_core3_2.jsonization.operation_request_async_from_jsonable(jsonable: Union[None, bool, int, float, str, Sequence[Any], Mapping[str, Any]]) OperationRequestAsync[source]
Parse an instance of
types.OperationRequestAsyncfrom the JSON-able structurejsonable.- Parameters
jsonable¶ – structure to be parsed
- Returns
Parsed instance of
types.OperationRequestAsync- Raise
DeserializationExceptionif unexpectedjsonable
- aas_core3_2.jsonization.operation_request_value_only_from_jsonable(jsonable: Union[None, bool, int, float, str, Sequence[Any], Mapping[str, Any]]) OperationRequestValueOnly[source]
Parse an instance of
types.OperationRequestValueOnlyfrom the JSON-able structurejsonable.- Parameters
jsonable¶ – structure to be parsed
- Returns
Parsed instance of
types.OperationRequestValueOnly- Raise
DeserializationExceptionif unexpectedjsonable
- aas_core3_2.jsonization.operation_request_async_value_only_from_jsonable(jsonable: Union[None, bool, int, float, str, Sequence[Any], Mapping[str, Any]]) OperationRequestAsyncValueOnly[source]
Parse an instance of
types.OperationRequestAsyncValueOnlyfrom the JSON-able structurejsonable.- Parameters
jsonable¶ – structure to be parsed
- Returns
Parsed instance of
types.OperationRequestAsyncValueOnly- Raise
DeserializationExceptionif unexpectedjsonable
- aas_core3_2.jsonization.base_operation_result_from_jsonable(jsonable: Union[None, bool, int, float, str, Sequence[Any], Mapping[str, Any]]) BaseOperationResult[source]
Parse an instance of
types.BaseOperationResultfrom the JSON-able structurejsonable.- Parameters
jsonable¶ – structure to be parsed
- Returns
Parsed instance of
types.BaseOperationResult- Raise
DeserializationExceptionif unexpectedjsonable
- aas_core3_2.jsonization.operation_result_from_jsonable(jsonable: Union[None, bool, int, float, str, Sequence[Any], Mapping[str, Any]]) OperationResult[source]
Parse an instance of
types.OperationResultfrom the JSON-able structurejsonable.- Parameters
jsonable¶ – structure to be parsed
- Returns
Parsed instance of
types.OperationResult- Raise
DeserializationExceptionif unexpectedjsonable
- aas_core3_2.jsonization.operation_result_value_only_from_jsonable(jsonable: Union[None, bool, int, float, str, Sequence[Any], Mapping[str, Any]]) OperationResultValueOnly[source]
Parse an instance of
types.OperationResultValueOnlyfrom the JSON-able structurejsonable.- Parameters
jsonable¶ – structure to be parsed
- Returns
Parsed instance of
types.OperationResultValueOnly- Raise
DeserializationExceptionif unexpectedjsonable
- aas_core3_2.jsonization.execution_state_from_jsonable(jsonable: Union[None, bool, int, float, str, Sequence[Any], Mapping[str, Any]]) ExecutionState[source]
Convert the JSON-able structure
jsonableto a literal oftypes.ExecutionState.- Parameters
jsonable¶ – JSON-able structure to be parsed
- Returns
parsed literal
- Raise
DeserializationExceptionif unexpectedjsonable
- aas_core3_2.jsonization.operation_handle_from_jsonable(jsonable: Union[None, bool, int, float, str, Sequence[Any], Mapping[str, Any]]) OperationHandle[source]
Parse an instance of
types.OperationHandlefrom the JSON-able structurejsonable.- Parameters
jsonable¶ – structure to be parsed
- Returns
Parsed instance of
types.OperationHandle- Raise
DeserializationExceptionif unexpectedjsonable
- aas_core3_2.jsonization.level_from_jsonable(jsonable: Union[None, bool, int, float, str, Sequence[Any], Mapping[str, Any]]) Level[source]
Convert the JSON-able structure
jsonableto a literal oftypes.Level.- Parameters
jsonable¶ – JSON-able structure to be parsed
- Returns
parsed literal
- Raise
DeserializationExceptionif unexpectedjsonable
- aas_core3_2.jsonization.content_from_jsonable(jsonable: Union[None, bool, int, float, str, Sequence[Any], Mapping[str, Any]]) Content[source]
Convert the JSON-able structure
jsonableto a literal oftypes.Content.- Parameters
jsonable¶ – JSON-able structure to be parsed
- Returns
parsed literal
- Raise
DeserializationExceptionif unexpectedjsonable
- aas_core3_2.jsonization.extent_from_jsonable(jsonable: Union[None, bool, int, float, str, Sequence[Any], Mapping[str, Any]]) Extent[source]
Convert the JSON-able structure
jsonableto a literal oftypes.Extent.- Parameters
jsonable¶ – JSON-able structure to be parsed
- Returns
parsed literal
- Raise
DeserializationExceptionif unexpectedjsonable
- aas_core3_2.jsonization.paged_result_from_jsonable(jsonable: Union[None, bool, int, float, str, Sequence[Any], Mapping[str, Any]]) PagedResult[source]
Parse an instance of
types.PagedResultfrom the JSON-able structurejsonable.- Parameters
jsonable¶ – structure to be parsed
- Returns
Parsed instance of
types.PagedResult- Raise
DeserializationExceptionif unexpectedjsonable
- aas_core3_2.jsonization.paging_metadata_from_jsonable(jsonable: Union[None, bool, int, float, str, Sequence[Any], Mapping[str, Any]]) PagingMetadata[source]
Parse an instance of
types.PagingMetadatafrom the JSON-able structurejsonable.- Parameters
jsonable¶ – structure to be parsed
- Returns
Parsed instance of
types.PagingMetadata- Raise
DeserializationExceptionif unexpectedjsonable
- aas_core3_2.jsonization.package_description_from_jsonable(jsonable: Union[None, bool, int, float, str, Sequence[Any], Mapping[str, Any]]) PackageDescription[source]
Parse an instance of
types.PackageDescriptionfrom the JSON-able structurejsonable.- Parameters
jsonable¶ – structure to be parsed
- Returns
Parsed instance of
types.PackageDescription- Raise
DeserializationExceptionif unexpectedjsonable
- aas_core3_2.jsonization.submodel_element_attributes_from_jsonable(jsonable: Union[None, bool, int, float, str, Sequence[Any], Mapping[str, Any]]) SubmodelElementAttributes[source]
Parse an instance of
types.SubmodelElementAttributesfrom the JSON-able structurejsonable.- Parameters
jsonable¶ – structure to be parsed
- Returns
Concrete instance of
types.SubmodelElementAttributes- Raise
DeserializationExceptionif unexpectedjsonable
- aas_core3_2.jsonization.submodel_element_metadata_from_jsonable(jsonable: Union[None, bool, int, float, str, Sequence[Any], Mapping[str, Any]]) SubmodelElementMetadata[source]
Parse an instance of
types.SubmodelElementMetadatafrom the JSON-able structurejsonable.- Parameters
jsonable¶ – structure to be parsed
- Returns
Concrete instance of
types.SubmodelElementMetadata- Raise
DeserializationExceptionif unexpectedjsonable
- aas_core3_2.jsonization.property_metadata_from_jsonable(jsonable: Union[None, bool, int, float, str, Sequence[Any], Mapping[str, Any]]) PropertyMetadata[source]
Parse an instance of
types.PropertyMetadatafrom the JSON-able structurejsonable.- Parameters
jsonable¶ – structure to be parsed
- Returns
Parsed instance of
types.PropertyMetadata- Raise
DeserializationExceptionif unexpectedjsonable
- aas_core3_2.jsonization.range_metadata_from_jsonable(jsonable: Union[None, bool, int, float, str, Sequence[Any], Mapping[str, Any]]) RangeMetadata[source]
Parse an instance of
types.RangeMetadatafrom the JSON-able structurejsonable.- Parameters
jsonable¶ – structure to be parsed
- Returns
Parsed instance of
types.RangeMetadata- Raise
DeserializationExceptionif unexpectedjsonable
- aas_core3_2.jsonization.blob_metadata_from_jsonable(jsonable: Union[None, bool, int, float, str, Sequence[Any], Mapping[str, Any]]) BlobMetadata[source]
Parse an instance of
types.BlobMetadatafrom the JSON-able structurejsonable.- Parameters
jsonable¶ – structure to be parsed
- Returns
Parsed instance of
types.BlobMetadata- Raise
DeserializationExceptionif unexpectedjsonable
- aas_core3_2.jsonization.file_metadata_from_jsonable(jsonable: Union[None, bool, int, float, str, Sequence[Any], Mapping[str, Any]]) FileMetadata[source]
Parse an instance of
types.FileMetadatafrom the JSON-able structurejsonable.- Parameters
jsonable¶ – structure to be parsed
- Returns
Parsed instance of
types.FileMetadata- Raise
DeserializationExceptionif unexpectedjsonable
- aas_core3_2.jsonization.multi_language_property_metadata_from_jsonable(jsonable: Union[None, bool, int, float, str, Sequence[Any], Mapping[str, Any]]) MultiLanguagePropertyMetadata[source]
Parse an instance of
types.MultiLanguagePropertyMetadatafrom the JSON-able structurejsonable.- Parameters
jsonable¶ – structure to be parsed
- Returns
Parsed instance of
types.MultiLanguagePropertyMetadata- Raise
DeserializationExceptionif unexpectedjsonable
- aas_core3_2.jsonization.reference_element_metadata_from_jsonable(jsonable: Union[None, bool, int, float, str, Sequence[Any], Mapping[str, Any]]) ReferenceElementMetadata[source]
Parse an instance of
types.ReferenceElementMetadatafrom the JSON-able structurejsonable.- Parameters
jsonable¶ – structure to be parsed
- Returns
Parsed instance of
types.ReferenceElementMetadata- Raise
DeserializationExceptionif unexpectedjsonable
- aas_core3_2.jsonization.relationship_element_metadata_from_jsonable(jsonable: Union[None, bool, int, float, str, Sequence[Any], Mapping[str, Any]]) RelationshipElementMetadata[source]
Parse an instance of
types.RelationshipElementMetadatafrom the JSON-able structurejsonable.- Parameters
jsonable¶ – structure to be parsed
- Returns
Parsed instance of
types.RelationshipElementMetadata- Raise
DeserializationExceptionif unexpectedjsonable
- aas_core3_2.jsonization.annotated_relationship_element_metadata_from_jsonable(jsonable: Union[None, bool, int, float, str, Sequence[Any], Mapping[str, Any]]) AnnotatedRelationshipElementMetadata[source]
Parse an instance of
types.AnnotatedRelationshipElementMetadatafrom the JSON-able structurejsonable.- Parameters
jsonable¶ – structure to be parsed
- Returns
Parsed instance of
types.AnnotatedRelationshipElementMetadata- Raise
DeserializationExceptionif unexpectedjsonable
- aas_core3_2.jsonization.entity_metadata_from_jsonable(jsonable: Union[None, bool, int, float, str, Sequence[Any], Mapping[str, Any]]) EntityMetadata[source]
Parse an instance of
types.EntityMetadatafrom the JSON-able structurejsonable.- Parameters
jsonable¶ – structure to be parsed
- Returns
Parsed instance of
types.EntityMetadata- Raise
DeserializationExceptionif unexpectedjsonable
- aas_core3_2.jsonization.capability_metadata_from_jsonable(jsonable: Union[None, bool, int, float, str, Sequence[Any], Mapping[str, Any]]) CapabilityMetadata[source]
Parse an instance of
types.CapabilityMetadatafrom the JSON-able structurejsonable.- Parameters
jsonable¶ – structure to be parsed
- Returns
Parsed instance of
types.CapabilityMetadata- Raise
DeserializationExceptionif unexpectedjsonable
- aas_core3_2.jsonization.operation_metadata_from_jsonable(jsonable: Union[None, bool, int, float, str, Sequence[Any], Mapping[str, Any]]) OperationMetadata[source]
Parse an instance of
types.OperationMetadatafrom the JSON-able structurejsonable.- Parameters
jsonable¶ – structure to be parsed
- Returns
Parsed instance of
types.OperationMetadata- Raise
DeserializationExceptionif unexpectedjsonable
- aas_core3_2.jsonization.submodel_element_collection_metadata_from_jsonable(jsonable: Union[None, bool, int, float, str, Sequence[Any], Mapping[str, Any]]) SubmodelElementCollectionMetadata[source]
Parse an instance of
types.SubmodelElementCollectionMetadatafrom the JSON-able structurejsonable.- Parameters
jsonable¶ – structure to be parsed
- Returns
Parsed instance of
types.SubmodelElementCollectionMetadata- Raise
DeserializationExceptionif unexpectedjsonable
- aas_core3_2.jsonization.basic_event_element_metadata_from_jsonable(jsonable: Union[None, bool, int, float, str, Sequence[Any], Mapping[str, Any]]) BasicEventElementMetadata[source]
Parse an instance of
types.BasicEventElementMetadatafrom the JSON-able structurejsonable.- Parameters
jsonable¶ – structure to be parsed
- Returns
Parsed instance of
types.BasicEventElementMetadata- Raise
DeserializationExceptionif unexpectedjsonable
- aas_core3_2.jsonization.submodel_element_list_metadata_from_jsonable(jsonable: Union[None, bool, int, float, str, Sequence[Any], Mapping[str, Any]]) SubmodelElementListMetadata[source]
Parse an instance of
types.SubmodelElementListMetadatafrom the JSON-able structurejsonable.- Parameters
jsonable¶ – structure to be parsed
- Returns
Parsed instance of
types.SubmodelElementListMetadata- Raise
DeserializationExceptionif unexpectedjsonable
- aas_core3_2.jsonization.submodel_metadata_from_jsonable(jsonable: Union[None, bool, int, float, str, Sequence[Any], Mapping[str, Any]]) SubmodelMetadata[source]
Parse an instance of
types.SubmodelMetadatafrom the JSON-able structurejsonable.- Parameters
jsonable¶ – structure to be parsed
- Returns
Parsed instance of
types.SubmodelMetadata- Raise
DeserializationExceptionif unexpectedjsonable
- aas_core3_2.jsonization.asset_administration_shell_metadata_from_jsonable(jsonable: Union[None, bool, int, float, str, Sequence[Any], Mapping[str, Any]]) AssetAdministrationShellMetadata[source]
Parse an instance of
types.AssetAdministrationShellMetadatafrom the JSON-able structurejsonable.- Parameters
jsonable¶ – structure to be parsed
- Returns
Parsed instance of
types.AssetAdministrationShellMetadata- Raise
DeserializationExceptionif unexpectedjsonable
- aas_core3_2.jsonization.reference_element_value_from_jsonable(jsonable: Union[None, bool, int, float, str, Sequence[Any], Mapping[str, Any]]) ReferenceElementValue[source]
Parse an instance of
types.ReferenceElementValuefrom the JSON-able structurejsonable.- Parameters
jsonable¶ – structure to be parsed
- Returns
Parsed instance of
types.ReferenceElementValue- Raise
DeserializationExceptionif unexpectedjsonable
- aas_core3_2.jsonization.blob_value_from_jsonable(jsonable: Union[None, bool, int, float, str, Sequence[Any], Mapping[str, Any]]) BlobValue[source]
Parse an instance of
types.BlobValuefrom the JSON-able structurejsonable.- Parameters
jsonable¶ – structure to be parsed
- Returns
Parsed instance of
types.BlobValue- Raise
DeserializationExceptionif unexpectedjsonable
- aas_core3_2.jsonization.file_value_from_jsonable(jsonable: Union[None, bool, int, float, str, Sequence[Any], Mapping[str, Any]]) FileValue[source]
Parse an instance of
types.FileValuefrom the JSON-able structurejsonable.- Parameters
jsonable¶ – structure to be parsed
- Returns
Parsed instance of
types.FileValue- Raise
DeserializationExceptionif unexpectedjsonable
- aas_core3_2.jsonization.range_value_from_jsonable(jsonable: Union[None, bool, int, float, str, Sequence[Any], Mapping[str, Any]]) RangeValue[source]
Parse an instance of
types.RangeValuefrom the JSON-able structurejsonable.- Parameters
jsonable¶ – structure to be parsed
- Returns
Parsed instance of
types.RangeValue- Raise
DeserializationExceptionif unexpectedjsonable
- aas_core3_2.jsonization.relationship_element_value_from_jsonable(jsonable: Union[None, bool, int, float, str, Sequence[Any], Mapping[str, Any]]) RelationshipElementValue[source]
Parse an instance of
types.RelationshipElementValuefrom the JSON-able structurejsonable.- Parameters
jsonable¶ – structure to be parsed
- Returns
Parsed instance of
types.RelationshipElementValue- Raise
DeserializationExceptionif unexpectedjsonable
- aas_core3_2.jsonization.basic_event_element_value_from_jsonable(jsonable: Union[None, bool, int, float, str, Sequence[Any], Mapping[str, Any]]) BasicEventElementValue[source]
Parse an instance of
types.BasicEventElementValuefrom the JSON-able structurejsonable.- Parameters
jsonable¶ – structure to be parsed
- Returns
Parsed instance of
types.BasicEventElementValue- Raise
DeserializationExceptionif unexpectedjsonable
- aas_core3_2.jsonization.annotated_relationship_element_value_from_jsonable(jsonable: Union[None, bool, int, float, str, Sequence[Any], Mapping[str, Any]]) AnnotatedRelationshipElementValue[source]
Parse an instance of
types.AnnotatedRelationshipElementValuefrom the JSON-able structurejsonable.- Parameters
jsonable¶ – structure to be parsed
- Returns
Parsed instance of
types.AnnotatedRelationshipElementValue- Raise
DeserializationExceptionif unexpectedjsonable
- aas_core3_2.jsonization.entity_value_from_jsonable(jsonable: Union[None, bool, int, float, str, Sequence[Any], Mapping[str, Any]]) EntityValue[source]
Parse an instance of
types.EntityValuefrom the JSON-able structurejsonable.- Parameters
jsonable¶ – structure to be parsed
- Returns
Parsed instance of
types.EntityValue- Raise
DeserializationExceptionif unexpectedjsonable
- aas_core3_2.jsonization.get_asset_administration_shells_result_from_jsonable(jsonable: Union[None, bool, int, float, str, Sequence[Any], Mapping[str, Any]]) GetAssetAdministrationShellsResult[source]
Parse an instance of
types.GetAssetAdministrationShellsResultfrom the JSON-able structurejsonable.- Parameters
jsonable¶ – structure to be parsed
- Returns
Parsed instance of
types.GetAssetAdministrationShellsResult- Raise
DeserializationExceptionif unexpectedjsonable
- aas_core3_2.jsonization.get_asset_administration_shells_metadata_result_from_jsonable(jsonable: Union[None, bool, int, float, str, Sequence[Any], Mapping[str, Any]]) GetAssetAdministrationShellsMetadataResult[source]
Parse an instance of
types.GetAssetAdministrationShellsMetadataResultfrom the JSON-able structurejsonable.- Parameters
jsonable¶ – structure to be parsed
- Returns
Parsed instance of
types.GetAssetAdministrationShellsMetadataResult- Raise
DeserializationExceptionif unexpectedjsonable
- aas_core3_2.jsonization.get_all_asset_administration_shells_recent_changes_result_from_jsonable(jsonable: Union[None, bool, int, float, str, Sequence[Any], Mapping[str, Any]]) GetAllAssetAdministrationShellsRecentChangesResult[source]
Parse an instance of
types.GetAllAssetAdministrationShellsRecentChangesResultfrom the JSON-able structurejsonable.- Parameters
jsonable¶ – structure to be parsed
- Returns
Parsed instance of
types.GetAllAssetAdministrationShellsRecentChangesResult- Raise
DeserializationExceptionif unexpectedjsonable
- aas_core3_2.jsonization.get_asset_administration_shell_descriptors_result_from_jsonable(jsonable: Union[None, bool, int, float, str, Sequence[Any], Mapping[str, Any]]) GetAssetAdministrationShellDescriptorsResult[source]
Parse an instance of
types.GetAssetAdministrationShellDescriptorsResultfrom the JSON-able structurejsonable.- Parameters
jsonable¶ – structure to be parsed
- Returns
Parsed instance of
types.GetAssetAdministrationShellDescriptorsResult- Raise
DeserializationExceptionif unexpectedjsonable
- aas_core3_2.jsonization.get_concept_descriptions_result_from_jsonable(jsonable: Union[None, bool, int, float, str, Sequence[Any], Mapping[str, Any]]) GetConceptDescriptionsResult[source]
Parse an instance of
types.GetConceptDescriptionsResultfrom the JSON-able structurejsonable.- Parameters
jsonable¶ – structure to be parsed
- Returns
Parsed instance of
types.GetConceptDescriptionsResult- Raise
DeserializationExceptionif unexpectedjsonable
- aas_core3_2.jsonization.get_all_concept_descriptions_recent_changes_result_from_jsonable(jsonable: Union[None, bool, int, float, str, Sequence[Any], Mapping[str, Any]]) GetAllConceptDescriptionsRecentChangesResult[source]
Parse an instance of
types.GetAllConceptDescriptionsRecentChangesResultfrom the JSON-able structurejsonable.- Parameters
jsonable¶ – structure to be parsed
- Returns
Parsed instance of
types.GetAllConceptDescriptionsRecentChangesResult- Raise
DeserializationExceptionif unexpectedjsonable
- aas_core3_2.jsonization.get_package_descriptions_result_from_jsonable(jsonable: Union[None, bool, int, float, str, Sequence[Any], Mapping[str, Any]]) GetPackageDescriptionsResult[source]
Parse an instance of
types.GetPackageDescriptionsResultfrom the JSON-able structurejsonable.- Parameters
jsonable¶ – structure to be parsed
- Returns
Parsed instance of
types.GetPackageDescriptionsResult- Raise
DeserializationExceptionif unexpectedjsonable
- aas_core3_2.jsonization.get_path_items_result_from_jsonable(jsonable: Union[None, bool, int, float, str, Sequence[Any], Mapping[str, Any]]) GetPathItemsResult[source]
Parse an instance of
types.GetPathItemsResultfrom the JSON-able structurejsonable.- Parameters
jsonable¶ – structure to be parsed
- Returns
Parsed instance of
types.GetPathItemsResult- Raise
DeserializationExceptionif unexpectedjsonable
- aas_core3_2.jsonization.get_references_result_from_jsonable(jsonable: Union[None, bool, int, float, str, Sequence[Any], Mapping[str, Any]]) GetReferencesResult[source]
Parse an instance of
types.GetReferencesResultfrom the JSON-able structurejsonable.- Parameters
jsonable¶ – structure to be parsed
- Returns
Parsed instance of
types.GetReferencesResult- Raise
DeserializationExceptionif unexpectedjsonable
- aas_core3_2.jsonization.get_submodel_descriptors_result_from_jsonable(jsonable: Union[None, bool, int, float, str, Sequence[Any], Mapping[str, Any]]) GetSubmodelDescriptorsResult[source]
Parse an instance of
types.GetSubmodelDescriptorsResultfrom the JSON-able structurejsonable.- Parameters
jsonable¶ – structure to be parsed
- Returns
Parsed instance of
types.GetSubmodelDescriptorsResult- Raise
DeserializationExceptionif unexpectedjsonable
- aas_core3_2.jsonization.get_submodel_elements_metadata_result_from_jsonable(jsonable: Union[None, bool, int, float, str, Sequence[Any], Mapping[str, Any]]) GetSubmodelElementsMetadataResult[source]
Parse an instance of
types.GetSubmodelElementsMetadataResultfrom the JSON-able structurejsonable.- Parameters
jsonable¶ – structure to be parsed
- Returns
Parsed instance of
types.GetSubmodelElementsMetadataResult- Raise
DeserializationExceptionif unexpectedjsonable
- aas_core3_2.jsonization.get_submodel_elements_result_from_jsonable(jsonable: Union[None, bool, int, float, str, Sequence[Any], Mapping[str, Any]]) GetSubmodelElementsResult[source]
Parse an instance of
types.GetSubmodelElementsResultfrom the JSON-able structurejsonable.- Parameters
jsonable¶ – structure to be parsed
- Returns
Parsed instance of
types.GetSubmodelElementsResult- Raise
DeserializationExceptionif unexpectedjsonable
- aas_core3_2.jsonization.get_submodel_elements_value_result_from_jsonable(jsonable: Union[None, bool, int, float, str, Sequence[Any], Mapping[str, Any]]) GetSubmodelElementsValueResult[source]
Parse an instance of
types.GetSubmodelElementsValueResultfrom the JSON-able structurejsonable.- Parameters
jsonable¶ – structure to be parsed
- Returns
Parsed instance of
types.GetSubmodelElementsValueResult- Raise
DeserializationExceptionif unexpectedjsonable
- aas_core3_2.jsonization.get_all_submodels_recent_changes_result_from_jsonable(jsonable: Union[None, bool, int, float, str, Sequence[Any], Mapping[str, Any]]) GetAllSubmodelsRecentChangesResult[source]
Parse an instance of
types.GetAllSubmodelsRecentChangesResultfrom the JSON-able structurejsonable.- Parameters
jsonable¶ – structure to be parsed
- Returns
Parsed instance of
types.GetAllSubmodelsRecentChangesResult- Raise
DeserializationExceptionif unexpectedjsonable
- aas_core3_2.jsonization.get_submodels_metadata_result_from_jsonable(jsonable: Union[None, bool, int, float, str, Sequence[Any], Mapping[str, Any]]) GetSubmodelsMetadataResult[source]
Parse an instance of
types.GetSubmodelsMetadataResultfrom the JSON-able structurejsonable.- Parameters
jsonable¶ – structure to be parsed
- Returns
Parsed instance of
types.GetSubmodelsMetadataResult- Raise
DeserializationExceptionif unexpectedjsonable
- aas_core3_2.jsonization.get_submodels_result_from_jsonable(jsonable: Union[None, bool, int, float, str, Sequence[Any], Mapping[str, Any]]) GetSubmodelsResult[source]
Parse an instance of
types.GetSubmodelsResultfrom the JSON-able structurejsonable.- Parameters
jsonable¶ – structure to be parsed
- Returns
Parsed instance of
types.GetSubmodelsResult- Raise
DeserializationExceptionif unexpectedjsonable
- aas_core3_2.jsonization.get_submodels_value_result_from_jsonable(jsonable: Union[None, bool, int, float, str, Sequence[Any], Mapping[str, Any]]) GetSubmodelsValueResult[source]
Parse an instance of
types.GetSubmodelsValueResultfrom the JSON-able structurejsonable.- Parameters
jsonable¶ – structure to be parsed
- Returns
Parsed instance of
types.GetSubmodelsValueResult- Raise
DeserializationExceptionif unexpectedjsonable
- aas_core3_2.jsonization.global_attribute_kind_from_jsonable(jsonable: Union[None, bool, int, float, str, Sequence[Any], Mapping[str, Any]]) GlobalAttributeKind[source]
Convert the JSON-able structure
jsonableto a literal oftypes.GlobalAttributeKind.- Parameters
jsonable¶ – JSON-able structure to be parsed
- Returns
parsed literal
- Raise
DeserializationExceptionif unexpectedjsonable
- aas_core3_2.jsonization.date_time_global_attribute_kind_from_jsonable(jsonable: Union[None, bool, int, float, str, Sequence[Any], Mapping[str, Any]]) DateTimeGlobalAttributeKind[source]
Convert the JSON-able structure
jsonableto a literal oftypes.DateTimeGlobalAttributeKind.- Parameters
jsonable¶ – JSON-able structure to be parsed
- Returns
parsed literal
- Raise
DeserializationExceptionif unexpectedjsonable
- aas_core3_2.jsonization.claim_attribute_from_jsonable(jsonable: Union[None, bool, int, float, str, Sequence[Any], Mapping[str, Any]]) ClaimAttribute[source]
Parse an instance of
types.ClaimAttributefrom the JSON-able structurejsonable.- Parameters
jsonable¶ – structure to be parsed
- Returns
Parsed instance of
types.ClaimAttribute- Raise
DeserializationExceptionif unexpectedjsonable
- aas_core3_2.jsonization.global_attribute_from_jsonable(jsonable: Union[None, bool, int, float, str, Sequence[Any], Mapping[str, Any]]) GlobalAttribute[source]
Parse an instance of
types.GlobalAttributefrom the JSON-able structurejsonable.- Parameters
jsonable¶ – structure to be parsed
- Returns
Parsed instance of
types.GlobalAttribute- Raise
DeserializationExceptionif unexpectedjsonable
- aas_core3_2.jsonization.reference_attribute_from_jsonable(jsonable: Union[None, bool, int, float, str, Sequence[Any], Mapping[str, Any]]) ReferenceAttribute[source]
Parse an instance of
types.ReferenceAttributefrom the JSON-able structurejsonable.- Parameters
jsonable¶ – structure to be parsed
- Returns
Parsed instance of
types.ReferenceAttribute- Raise
DeserializationExceptionif unexpectedjsonable
- aas_core3_2.jsonization.date_time_attribute_item_from_jsonable(jsonable: Union[None, bool, int, float, str, Sequence[Any], Mapping[str, Any]]) DateTimeAttributeItem[source]
Parse an instance of
types.DateTimeAttributeItemfrom the JSON-able structurejsonable.- Parameters
jsonable¶ – structure to be parsed
- Returns
Parsed instance of
types.DateTimeAttributeItem- Raise
DeserializationExceptionif unexpectedjsonable
- aas_core3_2.jsonization.field_operand_from_jsonable(jsonable: Union[None, bool, int, float, str, Sequence[Any], Mapping[str, Any]]) FieldOperand[source]
Parse an instance of
types.FieldOperandfrom the JSON-able structurejsonable.- Parameters
jsonable¶ – structure to be parsed
- Returns
Parsed instance of
types.FieldOperand- Raise
DeserializationExceptionif unexpectedjsonable
- aas_core3_2.jsonization.string_literal_from_jsonable(jsonable: Union[None, bool, int, float, str, Sequence[Any], Mapping[str, Any]]) StringLiteral[source]
Parse an instance of
types.StringLiteralfrom the JSON-able structurejsonable.- Parameters
jsonable¶ – structure to be parsed
- Returns
Parsed instance of
types.StringLiteral- Raise
DeserializationExceptionif unexpectedjsonable
- aas_core3_2.jsonization.attribute_operand_from_jsonable(jsonable: Union[None, bool, int, float, str, Sequence[Any], Mapping[str, Any]]) AttributeOperand[source]
Parse an instance of
types.AttributeOperandfrom the JSON-able structurejsonable.- Parameters
jsonable¶ – structure to be parsed
- Returns
Parsed instance of
types.AttributeOperand- Raise
DeserializationExceptionif unexpectedjsonable
- aas_core3_2.jsonization.number_literal_from_jsonable(jsonable: Union[None, bool, int, float, str, Sequence[Any], Mapping[str, Any]]) NumberLiteral[source]
Parse an instance of
types.NumberLiteralfrom the JSON-able structurejsonable.- Parameters
jsonable¶ – structure to be parsed
- Returns
Parsed instance of
types.NumberLiteral- Raise
DeserializationExceptionif unexpectedjsonable
- aas_core3_2.jsonization.hex_literal_from_jsonable(jsonable: Union[None, bool, int, float, str, Sequence[Any], Mapping[str, Any]]) HexLiteral[source]
Parse an instance of
types.HexLiteralfrom the JSON-able structurejsonable.- Parameters
jsonable¶ – structure to be parsed
- Returns
Parsed instance of
types.HexLiteral- Raise
DeserializationExceptionif unexpectedjsonable
- aas_core3_2.jsonization.date_time_literal_from_jsonable(jsonable: Union[None, bool, int, float, str, Sequence[Any], Mapping[str, Any]]) DateTimeLiteral[source]
Parse an instance of
types.DateTimeLiteralfrom the JSON-able structurejsonable.- Parameters
jsonable¶ – structure to be parsed
- Returns
Parsed instance of
types.DateTimeLiteral- Raise
DeserializationExceptionif unexpectedjsonable
- aas_core3_2.jsonization.time_literal_from_jsonable(jsonable: Union[None, bool, int, float, str, Sequence[Any], Mapping[str, Any]]) TimeLiteral[source]
Parse an instance of
types.TimeLiteralfrom the JSON-able structurejsonable.- Parameters
jsonable¶ – structure to be parsed
- Returns
Parsed instance of
types.TimeLiteral- Raise
DeserializationExceptionif unexpectedjsonable
- aas_core3_2.jsonization.boolean_literal_from_jsonable(jsonable: Union[None, bool, int, float, str, Sequence[Any], Mapping[str, Any]]) BooleanLiteral[source]
Parse an instance of
types.BooleanLiteralfrom the JSON-able structurejsonable.- Parameters
jsonable¶ – structure to be parsed
- Returns
Parsed instance of
types.BooleanLiteral- Raise
DeserializationExceptionif unexpectedjsonable
- aas_core3_2.jsonization.string_cast_from_jsonable(jsonable: Union[None, bool, int, float, str, Sequence[Any], Mapping[str, Any]]) StringCast[source]
Parse an instance of
types.StringCastfrom the JSON-able structurejsonable.- Parameters
jsonable¶ – structure to be parsed
- Returns
Parsed instance of
types.StringCast- Raise
DeserializationExceptionif unexpectedjsonable
- aas_core3_2.jsonization.number_cast_from_jsonable(jsonable: Union[None, bool, int, float, str, Sequence[Any], Mapping[str, Any]]) NumberCast[source]
Parse an instance of
types.NumberCastfrom the JSON-able structurejsonable.- Parameters
jsonable¶ – structure to be parsed
- Returns
Parsed instance of
types.NumberCast- Raise
DeserializationExceptionif unexpectedjsonable
- aas_core3_2.jsonization.hex_cast_from_jsonable(jsonable: Union[None, bool, int, float, str, Sequence[Any], Mapping[str, Any]]) HexCast[source]
Parse an instance of
types.HexCastfrom the JSON-able structurejsonable.- Parameters
jsonable¶ – structure to be parsed
- Returns
Parsed instance of
types.HexCast- Raise
DeserializationExceptionif unexpectedjsonable
- aas_core3_2.jsonization.boolean_cast_from_jsonable(jsonable: Union[None, bool, int, float, str, Sequence[Any], Mapping[str, Any]]) BooleanCast[source]
Parse an instance of
types.BooleanCastfrom the JSON-able structurejsonable.- Parameters
jsonable¶ – structure to be parsed
- Returns
Parsed instance of
types.BooleanCast- Raise
DeserializationExceptionif unexpectedjsonable
- aas_core3_2.jsonization.date_time_cast_from_jsonable(jsonable: Union[None, bool, int, float, str, Sequence[Any], Mapping[str, Any]]) DateTimeCast[source]
Parse an instance of
types.DateTimeCastfrom the JSON-able structurejsonable.- Parameters
jsonable¶ – structure to be parsed
- Returns
Parsed instance of
types.DateTimeCast- Raise
DeserializationExceptionif unexpectedjsonable
- aas_core3_2.jsonization.time_cast_from_jsonable(jsonable: Union[None, bool, int, float, str, Sequence[Any], Mapping[str, Any]]) TimeCast[source]
Parse an instance of
types.TimeCastfrom the JSON-able structurejsonable.- Parameters
jsonable¶ – structure to be parsed
- Returns
Parsed instance of
types.TimeCast- Raise
DeserializationExceptionif unexpectedjsonable
- aas_core3_2.jsonization.day_of_week_from_jsonable(jsonable: Union[None, bool, int, float, str, Sequence[Any], Mapping[str, Any]]) DayOfWeek[source]
Parse an instance of
types.DayOfWeekfrom the JSON-able structurejsonable.- Parameters
jsonable¶ – structure to be parsed
- Returns
Parsed instance of
types.DayOfWeek- Raise
DeserializationExceptionif unexpectedjsonable
- aas_core3_2.jsonization.day_of_month_from_jsonable(jsonable: Union[None, bool, int, float, str, Sequence[Any], Mapping[str, Any]]) DayOfMonth[source]
Parse an instance of
types.DayOfMonthfrom the JSON-able structurejsonable.- Parameters
jsonable¶ – structure to be parsed
- Returns
Parsed instance of
types.DayOfMonth- Raise
DeserializationExceptionif unexpectedjsonable
- aas_core3_2.jsonization.month_from_jsonable(jsonable: Union[None, bool, int, float, str, Sequence[Any], Mapping[str, Any]]) Month[source]
Parse an instance of
types.Monthfrom the JSON-able structurejsonable.- Parameters
jsonable¶ – structure to be parsed
- Returns
Parsed instance of
types.Month- Raise
DeserializationExceptionif unexpectedjsonable
- aas_core3_2.jsonization.year_from_jsonable(jsonable: Union[None, bool, int, float, str, Sequence[Any], Mapping[str, Any]]) Year[source]
Parse an instance of
types.Yearfrom the JSON-able structurejsonable.- Parameters
jsonable¶ – structure to be parsed
- Returns
Parsed instance of
types.Year- Raise
DeserializationExceptionif unexpectedjsonable
- aas_core3_2.jsonization.date_time_attribute_operand_from_jsonable(jsonable: Union[None, bool, int, float, str, Sequence[Any], Mapping[str, Any]]) DateTimeAttributeOperand[source]
Parse an instance of
types.DateTimeAttributeOperandfrom the JSON-able structurejsonable.- Parameters
jsonable¶ – structure to be parsed
- Returns
Parsed instance of
types.DateTimeAttributeOperand- Raise
DeserializationExceptionif unexpectedjsonable
- aas_core3_2.jsonization.equal_comparison_from_jsonable(jsonable: Union[None, bool, int, float, str, Sequence[Any], Mapping[str, Any]]) EqualComparison[source]
Parse an instance of
types.EqualComparisonfrom the JSON-able structurejsonable.- Parameters
jsonable¶ – structure to be parsed
- Returns
Parsed instance of
types.EqualComparison- Raise
DeserializationExceptionif unexpectedjsonable
- aas_core3_2.jsonization.not_equal_comparison_from_jsonable(jsonable: Union[None, bool, int, float, str, Sequence[Any], Mapping[str, Any]]) NotEqualComparison[source]
Parse an instance of
types.NotEqualComparisonfrom the JSON-able structurejsonable.- Parameters
jsonable¶ – structure to be parsed
- Returns
Parsed instance of
types.NotEqualComparison- Raise
DeserializationExceptionif unexpectedjsonable
- aas_core3_2.jsonization.greater_than_comparison_from_jsonable(jsonable: Union[None, bool, int, float, str, Sequence[Any], Mapping[str, Any]]) GreaterThanComparison[source]
Parse an instance of
types.GreaterThanComparisonfrom the JSON-able structurejsonable.- Parameters
jsonable¶ – structure to be parsed
- Returns
Parsed instance of
types.GreaterThanComparison- Raise
DeserializationExceptionif unexpectedjsonable
- aas_core3_2.jsonization.greater_than_or_equal_comparison_from_jsonable(jsonable: Union[None, bool, int, float, str, Sequence[Any], Mapping[str, Any]]) GreaterThanOrEqualComparison[source]
Parse an instance of
types.GreaterThanOrEqualComparisonfrom the JSON-able structurejsonable.- Parameters
jsonable¶ – structure to be parsed
- Returns
Parsed instance of
types.GreaterThanOrEqualComparison- Raise
DeserializationExceptionif unexpectedjsonable
- aas_core3_2.jsonization.less_than_comparison_from_jsonable(jsonable: Union[None, bool, int, float, str, Sequence[Any], Mapping[str, Any]]) LessThanComparison[source]
Parse an instance of
types.LessThanComparisonfrom the JSON-able structurejsonable.- Parameters
jsonable¶ – structure to be parsed
- Returns
Parsed instance of
types.LessThanComparison- Raise
DeserializationExceptionif unexpectedjsonable
- aas_core3_2.jsonization.less_than_or_equal_comparison_from_jsonable(jsonable: Union[None, bool, int, float, str, Sequence[Any], Mapping[str, Any]]) LessThanOrEqualComparison[source]
Parse an instance of
types.LessThanOrEqualComparisonfrom the JSON-able structurejsonable.- Parameters
jsonable¶ – structure to be parsed
- Returns
Parsed instance of
types.LessThanOrEqualComparison- Raise
DeserializationExceptionif unexpectedjsonable
- aas_core3_2.jsonization.contains_comparison_from_jsonable(jsonable: Union[None, bool, int, float, str, Sequence[Any], Mapping[str, Any]]) ContainsComparison[source]
Parse an instance of
types.ContainsComparisonfrom the JSON-able structurejsonable.- Parameters
jsonable¶ – structure to be parsed
- Returns
Parsed instance of
types.ContainsComparison- Raise
DeserializationExceptionif unexpectedjsonable
- aas_core3_2.jsonization.starts_with_comparison_from_jsonable(jsonable: Union[None, bool, int, float, str, Sequence[Any], Mapping[str, Any]]) StartsWithComparison[source]
Parse an instance of
types.StartsWithComparisonfrom the JSON-able structurejsonable.- Parameters
jsonable¶ – structure to be parsed
- Returns
Parsed instance of
types.StartsWithComparison- Raise
DeserializationExceptionif unexpectedjsonable
- aas_core3_2.jsonization.ends_with_comparison_from_jsonable(jsonable: Union[None, bool, int, float, str, Sequence[Any], Mapping[str, Any]]) EndsWithComparison[source]
Parse an instance of
types.EndsWithComparisonfrom the JSON-able structurejsonable.- Parameters
jsonable¶ – structure to be parsed
- Returns
Parsed instance of
types.EndsWithComparison- Raise
DeserializationExceptionif unexpectedjsonable
- aas_core3_2.jsonization.regex_comparison_from_jsonable(jsonable: Union[None, bool, int, float, str, Sequence[Any], Mapping[str, Any]]) RegexComparison[source]
Parse an instance of
types.RegexComparisonfrom the JSON-able structurejsonable.- Parameters
jsonable¶ – structure to be parsed
- Returns
Parsed instance of
types.RegexComparison- Raise
DeserializationExceptionif unexpectedjsonable
- aas_core3_2.jsonization.match_clause_from_jsonable(jsonable: Union[None, bool, int, float, str, Sequence[Any], Mapping[str, Any]]) MatchClause[source]
Parse an instance of
types.MatchClausefrom the JSON-able structurejsonable.- Parameters
jsonable¶ – structure to be parsed
- Returns
Parsed instance of
types.MatchClause- Raise
DeserializationExceptionif unexpectedjsonable
- aas_core3_2.jsonization.and_expression_from_jsonable(jsonable: Union[None, bool, int, float, str, Sequence[Any], Mapping[str, Any]]) AndExpression[source]
Parse an instance of
types.AndExpressionfrom the JSON-able structurejsonable.- Parameters
jsonable¶ – structure to be parsed
- Returns
Parsed instance of
types.AndExpression- Raise
DeserializationExceptionif unexpectedjsonable
- aas_core3_2.jsonization.or_expression_from_jsonable(jsonable: Union[None, bool, int, float, str, Sequence[Any], Mapping[str, Any]]) OrExpression[source]
Parse an instance of
types.OrExpressionfrom the JSON-able structurejsonable.- Parameters
jsonable¶ – structure to be parsed
- Returns
Parsed instance of
types.OrExpression- Raise
DeserializationExceptionif unexpectedjsonable
- aas_core3_2.jsonization.not_expression_from_jsonable(jsonable: Union[None, bool, int, float, str, Sequence[Any], Mapping[str, Any]]) NotExpression[source]
Parse an instance of
types.NotExpressionfrom the JSON-able structurejsonable.- Parameters
jsonable¶ – structure to be parsed
- Returns
Parsed instance of
types.NotExpression- Raise
DeserializationExceptionif unexpectedjsonable
- aas_core3_2.jsonization.query_select_from_jsonable(jsonable: Union[None, bool, int, float, str, Sequence[Any], Mapping[str, Any]]) QuerySelect[source]
Convert the JSON-able structure
jsonableto a literal oftypes.QuerySelect.- Parameters
jsonable¶ – JSON-able structure to be parsed
- Returns
parsed literal
- Raise
DeserializationExceptionif unexpectedjsonable
- aas_core3_2.jsonization.query_filter_from_jsonable(jsonable: Union[None, bool, int, float, str, Sequence[Any], Mapping[str, Any]]) QueryFilter[source]
Parse an instance of
types.QueryFilterfrom the JSON-able structurejsonable.- Parameters
jsonable¶ – structure to be parsed
- Returns
Parsed instance of
types.QueryFilter- Raise
DeserializationExceptionif unexpectedjsonable
- aas_core3_2.jsonization.query_from_jsonable(jsonable: Union[None, bool, int, float, str, Sequence[Any], Mapping[str, Any]]) Query[source]
Parse an instance of
types.Queryfrom the JSON-able structurejsonable.- Parameters
jsonable¶ – structure to be parsed
- Returns
Parsed instance of
types.Query- Raise
DeserializationExceptionif unexpectedjsonable
- aas_core3_2.jsonization.attribute_item_from_jsonable(jsonable: Union[None, bool, int, float, str, Sequence[Any], Mapping[str, Any]]) Union[ClaimAttribute, GlobalAttribute, ReferenceAttribute][source]
Parse an instance of
types.AttributeItemfrom the JSON-able structurejsonable.- Parameters
jsonable¶ – structure to be parsed
- Returns
Concrete instance corresponding to
types.AttributeItem- Raise
DeserializationExceptionif unexpectedjsonable
- aas_core3_2.jsonization.string_value_from_jsonable(jsonable: Union[None, bool, int, float, str, Sequence[Any], Mapping[str, Any]]) Union[FieldOperand, StringLiteral, StringCast, AttributeOperand][source]
Parse an instance of
types.StringValuefrom the JSON-able structurejsonable.- Parameters
jsonable¶ – structure to be parsed
- Returns
Concrete instance corresponding to
types.StringValue- Raise
DeserializationExceptionif unexpectedjsonable
- aas_core3_2.jsonization.date_time_operand_from_jsonable(jsonable: Union[None, bool, int, float, str, Sequence[Any], Mapping[str, Any]]) Union[DateTimeLiteral, DateTimeCast, DateTimeAttributeOperand][source]
Parse an instance of
types.DateTimeOperandfrom the JSON-able structurejsonable.- Parameters
jsonable¶ – structure to be parsed
- Returns
Concrete instance corresponding to
types.DateTimeOperand- Raise
DeserializationExceptionif unexpectedjsonable
- aas_core3_2.jsonization.time_cast_operand_from_jsonable(jsonable: Union[None, bool, int, float, str, Sequence[Any], Mapping[str, Any]]) Union[FieldOperand, StringLiteral, StringCast, AttributeOperand, DateTimeLiteral, DateTimeCast][source]
Parse an instance of
types.TimeCastOperandfrom the JSON-able structurejsonable.- Parameters
jsonable¶ – structure to be parsed
- Returns
Concrete instance corresponding to
types.TimeCastOperand- Raise
DeserializationExceptionif unexpectedjsonable
- aas_core3_2.jsonization.numerical_operand_from_jsonable(jsonable: Union[None, bool, int, float, str, Sequence[Any], Mapping[str, Any]]) Union[NumberLiteral, NumberCast, DayOfWeek, DayOfMonth, Month, Year][source]
Parse an instance of
types.NumericalOperandfrom the JSON-able structurejsonable.- Parameters
jsonable¶ – structure to be parsed
- Returns
Concrete instance corresponding to
types.NumericalOperand- Raise
DeserializationExceptionif unexpectedjsonable
- aas_core3_2.jsonization.hex_operand_from_jsonable(jsonable: Union[None, bool, int, float, str, Sequence[Any], Mapping[str, Any]]) Union[HexLiteral, HexCast][source]
Parse an instance of
types.HexOperandfrom the JSON-able structurejsonable.- Parameters
jsonable¶ – structure to be parsed
- Returns
Concrete instance corresponding to
types.HexOperand- Raise
DeserializationExceptionif unexpectedjsonable
- aas_core3_2.jsonization.bool_operand_from_jsonable(jsonable: Union[None, bool, int, float, str, Sequence[Any], Mapping[str, Any]]) Union[BooleanLiteral, BooleanCast][source]
Parse an instance of
types.BoolOperandfrom the JSON-able structurejsonable.- Parameters
jsonable¶ – structure to be parsed
- Returns
Concrete instance corresponding to
types.BoolOperand- Raise
DeserializationExceptionif unexpectedjsonable
- aas_core3_2.jsonization.time_operand_from_jsonable(jsonable: Union[None, bool, int, float, str, Sequence[Any], Mapping[str, Any]]) Union[TimeLiteral, TimeCast][source]
Parse an instance of
types.TimeOperandfrom the JSON-able structurejsonable.- Parameters
jsonable¶ – structure to be parsed
- Returns
Concrete instance corresponding to
types.TimeOperand- Raise
DeserializationExceptionif unexpectedjsonable
- aas_core3_2.jsonization.value_from_jsonable(jsonable: Union[None, bool, int, float, str, Sequence[Any], Mapping[str, Any]]) Union[FieldOperand, StringLiteral, StringCast, AttributeOperand, NumberLiteral, NumberCast, DayOfWeek, DayOfMonth, Month, Year, HexLiteral, HexCast, BooleanLiteral, BooleanCast, DateTimeLiteral, DateTimeCast, TimeLiteral, TimeCast][source]
Parse an instance of
types.Valuefrom the JSON-able structurejsonable.- Parameters
jsonable¶ – structure to be parsed
- Returns
Concrete instance corresponding to
types.Value- Raise
DeserializationExceptionif unexpectedjsonable
- aas_core3_2.jsonization.match_expression_from_jsonable(jsonable: Union[None, bool, int, float, str, Sequence[Any], Mapping[str, Any]]) Union[MatchClause, EqualComparison, NotEqualComparison, GreaterThanComparison, GreaterThanOrEqualComparison, LessThanComparison, LessThanOrEqualComparison, ContainsComparison, StartsWithComparison, EndsWithComparison, RegexComparison][source]
Parse an instance of
types.MatchExpressionfrom the JSON-able structurejsonable.- Parameters
jsonable¶ – structure to be parsed
- Returns
Concrete instance corresponding to
types.MatchExpression- Raise
DeserializationExceptionif unexpectedjsonable
- aas_core3_2.jsonization.logical_expression_from_jsonable(jsonable: Union[None, bool, int, float, str, Sequence[Any], Mapping[str, Any]]) Union[AndExpression, OrExpression, NotExpression, BooleanLiteral, MatchClause, EqualComparison, NotEqualComparison, GreaterThanComparison, GreaterThanOrEqualComparison, LessThanComparison, LessThanOrEqualComparison, ContainsComparison, StartsWithComparison, EndsWithComparison, RegexComparison][source]
Parse an instance of
types.LogicalExpressionfrom the JSON-able structurejsonable.- Parameters
jsonable¶ – structure to be parsed
- Returns
Concrete instance corresponding to
types.LogicalExpression- Raise
DeserializationExceptionif unexpectedjsonable
- exception aas_core3_2.jsonization.SerializationException(cause: str)[source]
Signal that the JSON serialization could not be performed.
- cause: Final[str]
Human-readable explanation of the exception’s cause
- property path: str
Render the path to the erroneous value as a Python access expression.
The path points into the instance which you handed over for the serialization, and not into a JSON document – at the point of the failure, there is no document yet. For example,
.submodels[0].valuetells you that the serialization broke onthat.submodels[0].value.
- aas_core3_2.jsonization.to_jsonable(that: Class) Union[None, bool, int, float, str, List[Any], MutableMapping[str, Any]][source]
Convert
thatto a JSON-able structure.- Parameters
that¶ – Model instance to be recursively converted to a JSON-able structure
- Returns
JSON-able structure which can be further encoded with, e.g.,
json- Raise
SerializationExceptionifthatcontains a number which JSON can not represent