Class Jsonization.Deserialize
Deserialize instances of meta-model classes from JSON nodes.
Inheritance
Inherited Members
Namespace: AasCore.Aas3_0_RC02
Assembly: AasCore.Aas3_0_RC02.dll
Syntax
public static class Deserialize
Examples
Here is an example how to parse an instance of IHasSemantics:
string someString = "... some JSON ...";
var node = System.Text.Json.Nodes.JsonNode.Parse(someString);
Aas.IHasSemantics anInstance = Deserialize.IHasSemanticsFrom(
node);
Methods
| Improve this Doc View SourceAasSubmodelElementsFrom(JsonNode)
Deserialize an instance of AasSubmodelElements from node
.
Declaration
public static AasSubmodelElements AasSubmodelElementsFrom(JsonNode node)
Parameters
Type | Name | Description |
---|---|---|
System.Text.Json.Nodes.JsonNode | node | JSON node to be parsed |
Returns
Type | Description |
---|---|
AasSubmodelElements |
Exceptions
Type | Condition |
---|---|
Jsonization.Exception | Thrown when |
AdministrativeInformationFrom(JsonNode)
Deserialize an instance of AdministrativeInformation from node
.
Declaration
public static AdministrativeInformation AdministrativeInformationFrom(JsonNode node)
Parameters
Type | Name | Description |
---|---|---|
System.Text.Json.Nodes.JsonNode | node | JSON node to be parsed |
Returns
Type | Description |
---|---|
AdministrativeInformation |
Exceptions
Type | Condition |
---|---|
Jsonization.Exception | Thrown when |
AnnotatedRelationshipElementFrom(JsonNode)
Deserialize an instance of AnnotatedRelationshipElement from node
.
Declaration
public static AnnotatedRelationshipElement AnnotatedRelationshipElementFrom(JsonNode node)
Parameters
Type | Name | Description |
---|---|---|
System.Text.Json.Nodes.JsonNode | node | JSON node to be parsed |
Returns
Type | Description |
---|---|
AnnotatedRelationshipElement |
Exceptions
Type | Condition |
---|---|
Jsonization.Exception | Thrown when |
AssetAdministrationShellFrom(JsonNode)
Deserialize an instance of AssetAdministrationShell from node
.
Declaration
public static AssetAdministrationShell AssetAdministrationShellFrom(JsonNode node)
Parameters
Type | Name | Description |
---|---|---|
System.Text.Json.Nodes.JsonNode | node | JSON node to be parsed |
Returns
Type | Description |
---|---|
AssetAdministrationShell |
Exceptions
Type | Condition |
---|---|
Jsonization.Exception | Thrown when |
AssetInformationFrom(JsonNode)
Deserialize an instance of AssetInformation from node
.
Declaration
public static AssetInformation AssetInformationFrom(JsonNode node)
Parameters
Type | Name | Description |
---|---|---|
System.Text.Json.Nodes.JsonNode | node | JSON node to be parsed |
Returns
Type | Description |
---|---|
AssetInformation |
Exceptions
Type | Condition |
---|---|
Jsonization.Exception | Thrown when |
AssetKindFrom(JsonNode)
Deserialize an instance of AssetKind from node
.
Declaration
public static AssetKind AssetKindFrom(JsonNode node)
Parameters
Type | Name | Description |
---|---|---|
System.Text.Json.Nodes.JsonNode | node | JSON node to be parsed |
Returns
Type | Description |
---|---|
AssetKind |
Exceptions
Type | Condition |
---|---|
Jsonization.Exception | Thrown when |
BasicEventElementFrom(JsonNode)
Deserialize an instance of BasicEventElement from node
.
Declaration
public static BasicEventElement BasicEventElementFrom(JsonNode node)
Parameters
Type | Name | Description |
---|---|---|
System.Text.Json.Nodes.JsonNode | node | JSON node to be parsed |
Returns
Type | Description |
---|---|
BasicEventElement |
Exceptions
Type | Condition |
---|---|
Jsonization.Exception | Thrown when |
BlobFrom(JsonNode)
Deserialize an instance of Blob from node
.
Declaration
public static Blob BlobFrom(JsonNode node)
Parameters
Type | Name | Description |
---|---|---|
System.Text.Json.Nodes.JsonNode | node | JSON node to be parsed |
Returns
Type | Description |
---|---|
Blob |
Exceptions
Type | Condition |
---|---|
Jsonization.Exception | Thrown when |
CapabilityFrom(JsonNode)
Deserialize an instance of Capability from node
.
Declaration
public static Capability CapabilityFrom(JsonNode node)
Parameters
Type | Name | Description |
---|---|---|
System.Text.Json.Nodes.JsonNode | node | JSON node to be parsed |
Returns
Type | Description |
---|---|
Capability |
Exceptions
Type | Condition |
---|---|
Jsonization.Exception | Thrown when |
ConceptDescriptionFrom(JsonNode)
Deserialize an instance of ConceptDescription from node
.
Declaration
public static ConceptDescription ConceptDescriptionFrom(JsonNode node)
Parameters
Type | Name | Description |
---|---|---|
System.Text.Json.Nodes.JsonNode | node | JSON node to be parsed |
Returns
Type | Description |
---|---|
ConceptDescription |
Exceptions
Type | Condition |
---|---|
Jsonization.Exception | Thrown when |
DataSpecificationIec61360From(JsonNode)
Deserialize an instance of DataSpecificationIec61360 from node
.
Declaration
public static DataSpecificationIec61360 DataSpecificationIec61360From(JsonNode node)
Parameters
Type | Name | Description |
---|---|---|
System.Text.Json.Nodes.JsonNode | node | JSON node to be parsed |
Returns
Type | Description |
---|---|
DataSpecificationIec61360 |
Exceptions
Type | Condition |
---|---|
Jsonization.Exception | Thrown when |
DataSpecificationPhysicalUnitFrom(JsonNode)
Deserialize an instance of DataSpecificationPhysicalUnit from node
.
Declaration
public static DataSpecificationPhysicalUnit DataSpecificationPhysicalUnitFrom(JsonNode node)
Parameters
Type | Name | Description |
---|---|---|
System.Text.Json.Nodes.JsonNode | node | JSON node to be parsed |
Returns
Type | Description |
---|---|
DataSpecificationPhysicalUnit |
Exceptions
Type | Condition |
---|---|
Jsonization.Exception | Thrown when |
DataTypeDefXsdFrom(JsonNode)
Deserialize an instance of DataTypeDefXsd from node
.
Declaration
public static DataTypeDefXsd DataTypeDefXsdFrom(JsonNode node)
Parameters
Type | Name | Description |
---|---|---|
System.Text.Json.Nodes.JsonNode | node | JSON node to be parsed |
Returns
Type | Description |
---|---|
DataTypeDefXsd |
Exceptions
Type | Condition |
---|---|
Jsonization.Exception | Thrown when |
DataTypeIec61360From(JsonNode)
Deserialize an instance of DataTypeIec61360 from node
.
Declaration
public static DataTypeIec61360 DataTypeIec61360From(JsonNode node)
Parameters
Type | Name | Description |
---|---|---|
System.Text.Json.Nodes.JsonNode | node | JSON node to be parsed |
Returns
Type | Description |
---|---|
DataTypeIec61360 |
Exceptions
Type | Condition |
---|---|
Jsonization.Exception | Thrown when |
DirectionFrom(JsonNode)
Deserialize an instance of Direction from node
.
Declaration
public static Direction DirectionFrom(JsonNode node)
Parameters
Type | Name | Description |
---|---|---|
System.Text.Json.Nodes.JsonNode | node | JSON node to be parsed |
Returns
Type | Description |
---|---|
Direction |
Exceptions
Type | Condition |
---|---|
Jsonization.Exception | Thrown when |
EmbeddedDataSpecificationFrom(JsonNode)
Deserialize an instance of EmbeddedDataSpecification from node
.
Declaration
public static EmbeddedDataSpecification EmbeddedDataSpecificationFrom(JsonNode node)
Parameters
Type | Name | Description |
---|---|---|
System.Text.Json.Nodes.JsonNode | node | JSON node to be parsed |
Returns
Type | Description |
---|---|
EmbeddedDataSpecification |
Exceptions
Type | Condition |
---|---|
Jsonization.Exception | Thrown when |
EntityFrom(JsonNode)
Deserialize an instance of Entity from node
.
Declaration
public static Entity EntityFrom(JsonNode node)
Parameters
Type | Name | Description |
---|---|---|
System.Text.Json.Nodes.JsonNode | node | JSON node to be parsed |
Returns
Type | Description |
---|---|
Entity |
Exceptions
Type | Condition |
---|---|
Jsonization.Exception | Thrown when |
EntityTypeFrom(JsonNode)
Deserialize an instance of EntityType from node
.
Declaration
public static EntityType EntityTypeFrom(JsonNode node)
Parameters
Type | Name | Description |
---|---|---|
System.Text.Json.Nodes.JsonNode | node | JSON node to be parsed |
Returns
Type | Description |
---|---|
EntityType |
Exceptions
Type | Condition |
---|---|
Jsonization.Exception | Thrown when |
EnvironmentFrom(JsonNode)
Deserialize an instance of Environment from node
.
Declaration
public static Environment EnvironmentFrom(JsonNode node)
Parameters
Type | Name | Description |
---|---|---|
System.Text.Json.Nodes.JsonNode | node | JSON node to be parsed |
Returns
Type | Description |
---|---|
Environment |
Exceptions
Type | Condition |
---|---|
Jsonization.Exception | Thrown when |
EventPayloadFrom(JsonNode)
Deserialize an instance of EventPayload from node
.
Declaration
public static EventPayload EventPayloadFrom(JsonNode node)
Parameters
Type | Name | Description |
---|---|---|
System.Text.Json.Nodes.JsonNode | node | JSON node to be parsed |
Returns
Type | Description |
---|---|
EventPayload |
Exceptions
Type | Condition |
---|---|
Jsonization.Exception | Thrown when |
ExtensionFrom(JsonNode)
Deserialize an instance of Extension from node
.
Declaration
public static Extension ExtensionFrom(JsonNode node)
Parameters
Type | Name | Description |
---|---|---|
System.Text.Json.Nodes.JsonNode | node | JSON node to be parsed |
Returns
Type | Description |
---|---|
Extension |
Exceptions
Type | Condition |
---|---|
Jsonization.Exception | Thrown when |
FileFrom(JsonNode)
Deserialize an instance of File from node
.
Declaration
public static File FileFrom(JsonNode node)
Parameters
Type | Name | Description |
---|---|---|
System.Text.Json.Nodes.JsonNode | node | JSON node to be parsed |
Returns
Type | Description |
---|---|
File |
Exceptions
Type | Condition |
---|---|
Jsonization.Exception | Thrown when |
IDataElementFrom(JsonNode)
Deserialize an instance of IDataElement from node
.
Declaration
public static IDataElement IDataElementFrom(JsonNode node)
Parameters
Type | Name | Description |
---|---|---|
System.Text.Json.Nodes.JsonNode | node | JSON node to be parsed |
Returns
Type | Description |
---|---|
IDataElement |
Exceptions
Type | Condition |
---|---|
Jsonization.Exception | Thrown when |
IDataSpecificationContentFrom(JsonNode)
Deserialize an instance of IDataSpecificationContent from node
.
Declaration
public static IDataSpecificationContent IDataSpecificationContentFrom(JsonNode node)
Parameters
Type | Name | Description |
---|---|---|
System.Text.Json.Nodes.JsonNode | node | JSON node to be parsed |
Returns
Type | Description |
---|---|
IDataSpecificationContent |
Exceptions
Type | Condition |
---|---|
Jsonization.Exception | Thrown when |
IEventElementFrom(JsonNode)
Deserialize an instance of IEventElement from node
.
Declaration
public static IEventElement IEventElementFrom(JsonNode node)
Parameters
Type | Name | Description |
---|---|---|
System.Text.Json.Nodes.JsonNode | node | JSON node to be parsed |
Returns
Type | Description |
---|---|
IEventElement |
Exceptions
Type | Condition |
---|---|
Jsonization.Exception | Thrown when |
IHasDataSpecificationFrom(JsonNode)
Deserialize an instance of IHasDataSpecification from node
.
Declaration
public static IHasDataSpecification IHasDataSpecificationFrom(JsonNode node)
Parameters
Type | Name | Description |
---|---|---|
System.Text.Json.Nodes.JsonNode | node | JSON node to be parsed |
Returns
Type | Description |
---|---|
IHasDataSpecification |
Exceptions
Type | Condition |
---|---|
Jsonization.Exception | Thrown when |
IHasExtensionsFrom(JsonNode)
Deserialize an instance of IHasExtensions from node
.
Declaration
public static IHasExtensions IHasExtensionsFrom(JsonNode node)
Parameters
Type | Name | Description |
---|---|---|
System.Text.Json.Nodes.JsonNode | node | JSON node to be parsed |
Returns
Type | Description |
---|---|
IHasExtensions |
Exceptions
Type | Condition |
---|---|
Jsonization.Exception | Thrown when |
IHasKindFrom(JsonNode)
Deserialize an instance of IHasKind from node
.
Declaration
public static IHasKind IHasKindFrom(JsonNode node)
Parameters
Type | Name | Description |
---|---|---|
System.Text.Json.Nodes.JsonNode | node | JSON node to be parsed |
Returns
Type | Description |
---|---|
IHasKind |
Exceptions
Type | Condition |
---|---|
Jsonization.Exception | Thrown when |
IHasSemanticsFrom(JsonNode)
Deserialize an instance of IHasSemantics from node
.
Declaration
public static IHasSemantics IHasSemanticsFrom(JsonNode node)
Parameters
Type | Name | Description |
---|---|---|
System.Text.Json.Nodes.JsonNode | node | JSON node to be parsed |
Returns
Type | Description |
---|---|
IHasSemantics |
Exceptions
Type | Condition |
---|---|
Jsonization.Exception | Thrown when |
IIdentifiableFrom(JsonNode)
Deserialize an instance of IIdentifiable from node
.
Declaration
public static IIdentifiable IIdentifiableFrom(JsonNode node)
Parameters
Type | Name | Description |
---|---|---|
System.Text.Json.Nodes.JsonNode | node | JSON node to be parsed |
Returns
Type | Description |
---|---|
IIdentifiable |
Exceptions
Type | Condition |
---|---|
Jsonization.Exception | Thrown when |
IQualifiableFrom(JsonNode)
Deserialize an instance of IQualifiable from node
.
Declaration
public static IQualifiable IQualifiableFrom(JsonNode node)
Parameters
Type | Name | Description |
---|---|---|
System.Text.Json.Nodes.JsonNode | node | JSON node to be parsed |
Returns
Type | Description |
---|---|
IQualifiable |
Exceptions
Type | Condition |
---|---|
Jsonization.Exception | Thrown when |
IReferableFrom(JsonNode)
Deserialize an instance of IReferable from node
.
Declaration
public static IReferable IReferableFrom(JsonNode node)
Parameters
Type | Name | Description |
---|---|---|
System.Text.Json.Nodes.JsonNode | node | JSON node to be parsed |
Returns
Type | Description |
---|---|
IReferable |
Exceptions
Type | Condition |
---|---|
Jsonization.Exception | Thrown when |
IRelationshipElementFrom(JsonNode)
Deserialize an instance of IRelationshipElement from node
.
Declaration
public static IRelationshipElement IRelationshipElementFrom(JsonNode node)
Parameters
Type | Name | Description |
---|---|---|
System.Text.Json.Nodes.JsonNode | node | JSON node to be parsed |
Returns
Type | Description |
---|---|
IRelationshipElement |
Exceptions
Type | Condition |
---|---|
Jsonization.Exception | Thrown when |
ISubmodelElementFrom(JsonNode)
Deserialize an instance of ISubmodelElement from node
.
Declaration
public static ISubmodelElement ISubmodelElementFrom(JsonNode node)
Parameters
Type | Name | Description |
---|---|---|
System.Text.Json.Nodes.JsonNode | node | JSON node to be parsed |
Returns
Type | Description |
---|---|
ISubmodelElement |
Exceptions
Type | Condition |
---|---|
Jsonization.Exception | Thrown when |
KeyFrom(JsonNode)
Deserialize an instance of Key from node
.
Declaration
public static Key KeyFrom(JsonNode node)
Parameters
Type | Name | Description |
---|---|---|
System.Text.Json.Nodes.JsonNode | node | JSON node to be parsed |
Returns
Type | Description |
---|---|
Key |
Exceptions
Type | Condition |
---|---|
Jsonization.Exception | Thrown when |
KeyTypesFrom(JsonNode)
Deserialize an instance of KeyTypes from node
.
Declaration
public static KeyTypes KeyTypesFrom(JsonNode node)
Parameters
Type | Name | Description |
---|---|---|
System.Text.Json.Nodes.JsonNode | node | JSON node to be parsed |
Returns
Type | Description |
---|---|
KeyTypes |
Exceptions
Type | Condition |
---|---|
Jsonization.Exception | Thrown when |
LangStringFrom(JsonNode)
Deserialize an instance of LangString from node
.
Declaration
public static LangString LangStringFrom(JsonNode node)
Parameters
Type | Name | Description |
---|---|---|
System.Text.Json.Nodes.JsonNode | node | JSON node to be parsed |
Returns
Type | Description |
---|---|
LangString |
Exceptions
Type | Condition |
---|---|
Jsonization.Exception | Thrown when |
LevelTypeFrom(JsonNode)
Deserialize an instance of LevelType from node
.
Declaration
public static LevelType LevelTypeFrom(JsonNode node)
Parameters
Type | Name | Description |
---|---|---|
System.Text.Json.Nodes.JsonNode | node | JSON node to be parsed |
Returns
Type | Description |
---|---|
LevelType |
Exceptions
Type | Condition |
---|---|
Jsonization.Exception | Thrown when |
ModelingKindFrom(JsonNode)
Deserialize an instance of ModelingKind from node
.
Declaration
public static ModelingKind ModelingKindFrom(JsonNode node)
Parameters
Type | Name | Description |
---|---|---|
System.Text.Json.Nodes.JsonNode | node | JSON node to be parsed |
Returns
Type | Description |
---|---|
ModelingKind |
Exceptions
Type | Condition |
---|---|
Jsonization.Exception | Thrown when |
MultiLanguagePropertyFrom(JsonNode)
Deserialize an instance of MultiLanguageProperty from node
.
Declaration
public static MultiLanguageProperty MultiLanguagePropertyFrom(JsonNode node)
Parameters
Type | Name | Description |
---|---|---|
System.Text.Json.Nodes.JsonNode | node | JSON node to be parsed |
Returns
Type | Description |
---|---|
MultiLanguageProperty |
Exceptions
Type | Condition |
---|---|
Jsonization.Exception | Thrown when |
OperationFrom(JsonNode)
Deserialize an instance of Operation from node
.
Declaration
public static Operation OperationFrom(JsonNode node)
Parameters
Type | Name | Description |
---|---|---|
System.Text.Json.Nodes.JsonNode | node | JSON node to be parsed |
Returns
Type | Description |
---|---|
Operation |
Exceptions
Type | Condition |
---|---|
Jsonization.Exception | Thrown when |
OperationVariableFrom(JsonNode)
Deserialize an instance of OperationVariable from node
.
Declaration
public static OperationVariable OperationVariableFrom(JsonNode node)
Parameters
Type | Name | Description |
---|---|---|
System.Text.Json.Nodes.JsonNode | node | JSON node to be parsed |
Returns
Type | Description |
---|---|
OperationVariable |
Exceptions
Type | Condition |
---|---|
Jsonization.Exception | Thrown when |
PropertyFrom(JsonNode)
Deserialize an instance of Property from node
.
Declaration
public static Property PropertyFrom(JsonNode node)
Parameters
Type | Name | Description |
---|---|---|
System.Text.Json.Nodes.JsonNode | node | JSON node to be parsed |
Returns
Type | Description |
---|---|
Property |
Exceptions
Type | Condition |
---|---|
Jsonization.Exception | Thrown when |
QualifierFrom(JsonNode)
Deserialize an instance of Qualifier from node
.
Declaration
public static Qualifier QualifierFrom(JsonNode node)
Parameters
Type | Name | Description |
---|---|---|
System.Text.Json.Nodes.JsonNode | node | JSON node to be parsed |
Returns
Type | Description |
---|---|
Qualifier |
Exceptions
Type | Condition |
---|---|
Jsonization.Exception | Thrown when |
QualifierKindFrom(JsonNode)
Deserialize an instance of QualifierKind from node
.
Declaration
public static QualifierKind QualifierKindFrom(JsonNode node)
Parameters
Type | Name | Description |
---|---|---|
System.Text.Json.Nodes.JsonNode | node | JSON node to be parsed |
Returns
Type | Description |
---|---|
QualifierKind |
Exceptions
Type | Condition |
---|---|
Jsonization.Exception | Thrown when |
RangeFrom(JsonNode)
Deserialize an instance of Range from node
.
Declaration
public static Range RangeFrom(JsonNode node)
Parameters
Type | Name | Description |
---|---|---|
System.Text.Json.Nodes.JsonNode | node | JSON node to be parsed |
Returns
Type | Description |
---|---|
Range |
Exceptions
Type | Condition |
---|---|
Jsonization.Exception | Thrown when |
ReferenceElementFrom(JsonNode)
Deserialize an instance of ReferenceElement from node
.
Declaration
public static ReferenceElement ReferenceElementFrom(JsonNode node)
Parameters
Type | Name | Description |
---|---|---|
System.Text.Json.Nodes.JsonNode | node | JSON node to be parsed |
Returns
Type | Description |
---|---|
ReferenceElement |
Exceptions
Type | Condition |
---|---|
Jsonization.Exception | Thrown when |
ReferenceFrom(JsonNode)
Deserialize an instance of Reference from node
.
Declaration
public static Reference ReferenceFrom(JsonNode node)
Parameters
Type | Name | Description |
---|---|---|
System.Text.Json.Nodes.JsonNode | node | JSON node to be parsed |
Returns
Type | Description |
---|---|
Reference |
Exceptions
Type | Condition |
---|---|
Jsonization.Exception | Thrown when |
ReferenceTypesFrom(JsonNode)
Deserialize an instance of ReferenceTypes from node
.
Declaration
public static ReferenceTypes ReferenceTypesFrom(JsonNode node)
Parameters
Type | Name | Description |
---|---|---|
System.Text.Json.Nodes.JsonNode | node | JSON node to be parsed |
Returns
Type | Description |
---|---|
ReferenceTypes |
Exceptions
Type | Condition |
---|---|
Jsonization.Exception | Thrown when |
RelationshipElementFrom(JsonNode)
Deserialize an instance of RelationshipElement from node
.
Declaration
public static RelationshipElement RelationshipElementFrom(JsonNode node)
Parameters
Type | Name | Description |
---|---|---|
System.Text.Json.Nodes.JsonNode | node | JSON node to be parsed |
Returns
Type | Description |
---|---|
RelationshipElement |
Exceptions
Type | Condition |
---|---|
Jsonization.Exception | Thrown when |
ResourceFrom(JsonNode)
Deserialize an instance of Resource from node
.
Declaration
public static Resource ResourceFrom(JsonNode node)
Parameters
Type | Name | Description |
---|---|---|
System.Text.Json.Nodes.JsonNode | node | JSON node to be parsed |
Returns
Type | Description |
---|---|
Resource |
Exceptions
Type | Condition |
---|---|
Jsonization.Exception | Thrown when |
SpecificAssetIdFrom(JsonNode)
Deserialize an instance of SpecificAssetId from node
.
Declaration
public static SpecificAssetId SpecificAssetIdFrom(JsonNode node)
Parameters
Type | Name | Description |
---|---|---|
System.Text.Json.Nodes.JsonNode | node | JSON node to be parsed |
Returns
Type | Description |
---|---|
SpecificAssetId |
Exceptions
Type | Condition |
---|---|
Jsonization.Exception | Thrown when |
StateOfEventFrom(JsonNode)
Deserialize an instance of StateOfEvent from node
.
Declaration
public static StateOfEvent StateOfEventFrom(JsonNode node)
Parameters
Type | Name | Description |
---|---|---|
System.Text.Json.Nodes.JsonNode | node | JSON node to be parsed |
Returns
Type | Description |
---|---|
StateOfEvent |
Exceptions
Type | Condition |
---|---|
Jsonization.Exception | Thrown when |
SubmodelElementCollectionFrom(JsonNode)
Deserialize an instance of SubmodelElementCollection from node
.
Declaration
public static SubmodelElementCollection SubmodelElementCollectionFrom(JsonNode node)
Parameters
Type | Name | Description |
---|---|---|
System.Text.Json.Nodes.JsonNode | node | JSON node to be parsed |
Returns
Type | Description |
---|---|
SubmodelElementCollection |
Exceptions
Type | Condition |
---|---|
Jsonization.Exception | Thrown when |
SubmodelElementListFrom(JsonNode)
Deserialize an instance of SubmodelElementList from node
.
Declaration
public static SubmodelElementList SubmodelElementListFrom(JsonNode node)
Parameters
Type | Name | Description |
---|---|---|
System.Text.Json.Nodes.JsonNode | node | JSON node to be parsed |
Returns
Type | Description |
---|---|
SubmodelElementList |
Exceptions
Type | Condition |
---|---|
Jsonization.Exception | Thrown when |
SubmodelFrom(JsonNode)
Deserialize an instance of Submodel from node
.
Declaration
public static Submodel SubmodelFrom(JsonNode node)
Parameters
Type | Name | Description |
---|---|---|
System.Text.Json.Nodes.JsonNode | node | JSON node to be parsed |
Returns
Type | Description |
---|---|
Submodel |
Exceptions
Type | Condition |
---|---|
Jsonization.Exception | Thrown when |
ValueListFrom(JsonNode)
Deserialize an instance of ValueList from node
.
Declaration
public static ValueList ValueListFrom(JsonNode node)
Parameters
Type | Name | Description |
---|---|---|
System.Text.Json.Nodes.JsonNode | node | JSON node to be parsed |
Returns
Type | Description |
---|---|
ValueList |
Exceptions
Type | Condition |
---|---|
Jsonization.Exception | Thrown when |
ValueReferencePairFrom(JsonNode)
Deserialize an instance of ValueReferencePair from node
.
Declaration
public static ValueReferencePair ValueReferencePairFrom(JsonNode node)
Parameters
Type | Name | Description |
---|---|---|
System.Text.Json.Nodes.JsonNode | node | JSON node to be parsed |
Returns
Type | Description |
---|---|
ValueReferencePair |
Exceptions
Type | Condition |
---|---|
Jsonization.Exception | Thrown when |