aas-core3 1.0.1
Manipulate, verify and de/serialize asset administration shells in C++.
Loading...
Searching...
No Matches
jsonization.hpp File Reference
#include "aas_core/aas_3_0/common.hpp"
#include "aas_core/aas_3_0/iteration.hpp"
#include "aas_core/aas_3_0/types.hpp"
#include <nlohmann/json.hpp>
#include <memory>
#include <string>
#include <utility>

Go to the source code of this file.

Classes

class  aas_core::aas_3_0::jsonization::ISegment
struct  aas_core::aas_3_0::jsonization::PropertySegment
struct  aas_core::aas_3_0::jsonization::IndexSegment
struct  aas_core::aas_3_0::jsonization::Path
struct  aas_core::aas_3_0::jsonization::DeserializationError
class  aas_core::aas_3_0::jsonization::SerializationException

Namespaces

namespace  aas_core
namespace  aas_core::aas_3_0
namespace  aas_core::aas_3_0::jsonization

Functions

common::expected< std::shared_ptr< types::IHasSemantics >, DeserializationError > aas_core::aas_3_0::jsonization::HasSemanticsFrom (const nlohmann::json &json, bool additional_properties=false)
 Deserialize json value to an instance of types::IHasSemantics.
common::expected< std::shared_ptr< types::IExtension >, DeserializationError > aas_core::aas_3_0::jsonization::ExtensionFrom (const nlohmann::json &json, bool additional_properties=false)
 Deserialize json value to an instance of types::IExtension.
common::expected< std::shared_ptr< types::IHasExtensions >, DeserializationError > aas_core::aas_3_0::jsonization::HasExtensionsFrom (const nlohmann::json &json, bool additional_properties=false)
 Deserialize json value to an instance of types::IHasExtensions.
common::expected< std::shared_ptr< types::IReferable >, DeserializationError > aas_core::aas_3_0::jsonization::ReferableFrom (const nlohmann::json &json, bool additional_properties=false)
 Deserialize json value to an instance of types::IReferable.
common::expected< std::shared_ptr< types::IIdentifiable >, DeserializationError > aas_core::aas_3_0::jsonization::IdentifiableFrom (const nlohmann::json &json, bool additional_properties=false)
 Deserialize json value to an instance of types::IIdentifiable.
common::expected< std::shared_ptr< types::IHasKind >, DeserializationError > aas_core::aas_3_0::jsonization::HasKindFrom (const nlohmann::json &json, bool additional_properties=false)
 Deserialize json value to an instance of types::IHasKind.
common::expected< std::shared_ptr< types::IHasDataSpecification >, DeserializationError > aas_core::aas_3_0::jsonization::HasDataSpecificationFrom (const nlohmann::json &json, bool additional_properties=false)
 Deserialize json value to an instance of types::IHasDataSpecification.
common::expected< std::shared_ptr< types::IAdministrativeInformation >, DeserializationError > aas_core::aas_3_0::jsonization::AdministrativeInformationFrom (const nlohmann::json &json, bool additional_properties=false)
 Deserialize json value to an instance of types::IAdministrativeInformation.
common::expected< std::shared_ptr< types::IQualifiable >, DeserializationError > aas_core::aas_3_0::jsonization::QualifiableFrom (const nlohmann::json &json, bool additional_properties=false)
 Deserialize json value to an instance of types::IQualifiable.
common::expected< std::shared_ptr< types::IQualifier >, DeserializationError > aas_core::aas_3_0::jsonization::QualifierFrom (const nlohmann::json &json, bool additional_properties=false)
 Deserialize json value to an instance of types::IQualifier.
common::expected< std::shared_ptr< types::IAssetAdministrationShell >, DeserializationError > aas_core::aas_3_0::jsonization::AssetAdministrationShellFrom (const nlohmann::json &json, bool additional_properties=false)
 Deserialize json value to an instance of types::IAssetAdministrationShell.
common::expected< std::shared_ptr< types::IAssetInformation >, DeserializationError > aas_core::aas_3_0::jsonization::AssetInformationFrom (const nlohmann::json &json, bool additional_properties=false)
 Deserialize json value to an instance of types::IAssetInformation.
common::expected< std::shared_ptr< types::IResource >, DeserializationError > aas_core::aas_3_0::jsonization::ResourceFrom (const nlohmann::json &json, bool additional_properties=false)
 Deserialize json value to an instance of types::IResource.
common::expected< std::shared_ptr< types::ISpecificAssetId >, DeserializationError > aas_core::aas_3_0::jsonization::SpecificAssetIdFrom (const nlohmann::json &json, bool additional_properties=false)
 Deserialize json value to an instance of types::ISpecificAssetId.
common::expected< std::shared_ptr< types::ISubmodel >, DeserializationError > aas_core::aas_3_0::jsonization::SubmodelFrom (const nlohmann::json &json, bool additional_properties=false)
 Deserialize json value to an instance of types::ISubmodel.
common::expected< std::shared_ptr< types::ISubmodelElement >, DeserializationError > aas_core::aas_3_0::jsonization::SubmodelElementFrom (const nlohmann::json &json, bool additional_properties=false)
 Deserialize json value to an instance of types::ISubmodelElement.
common::expected< std::shared_ptr< types::IRelationshipElement >, DeserializationError > aas_core::aas_3_0::jsonization::RelationshipElementFrom (const nlohmann::json &json, bool additional_properties=false)
 Deserialize json value to an instance of types::IRelationshipElement.
common::expected< std::shared_ptr< types::ISubmodelElementList >, DeserializationError > aas_core::aas_3_0::jsonization::SubmodelElementListFrom (const nlohmann::json &json, bool additional_properties=false)
 Deserialize json value to an instance of types::ISubmodelElementList.
common::expected< std::shared_ptr< types::ISubmodelElementCollection >, DeserializationError > aas_core::aas_3_0::jsonization::SubmodelElementCollectionFrom (const nlohmann::json &json, bool additional_properties=false)
 Deserialize json value to an instance of types::ISubmodelElementCollection.
common::expected< std::shared_ptr< types::IDataElement >, DeserializationError > aas_core::aas_3_0::jsonization::DataElementFrom (const nlohmann::json &json, bool additional_properties=false)
 Deserialize json value to an instance of types::IDataElement.
common::expected< std::shared_ptr< types::IProperty >, DeserializationError > aas_core::aas_3_0::jsonization::PropertyFrom (const nlohmann::json &json, bool additional_properties=false)
 Deserialize json value to an instance of types::IProperty.
common::expected< std::shared_ptr< types::IMultiLanguageProperty >, DeserializationError > aas_core::aas_3_0::jsonization::MultiLanguagePropertyFrom (const nlohmann::json &json, bool additional_properties=false)
 Deserialize json value to an instance of types::IMultiLanguageProperty.
common::expected< std::shared_ptr< types::IRange >, DeserializationError > aas_core::aas_3_0::jsonization::RangeFrom (const nlohmann::json &json, bool additional_properties=false)
 Deserialize json value to an instance of types::IRange.
common::expected< std::shared_ptr< types::IReferenceElement >, DeserializationError > aas_core::aas_3_0::jsonization::ReferenceElementFrom (const nlohmann::json &json, bool additional_properties=false)
 Deserialize json value to an instance of types::IReferenceElement.
common::expected< std::shared_ptr< types::IBlob >, DeserializationError > aas_core::aas_3_0::jsonization::BlobFrom (const nlohmann::json &json, bool additional_properties=false)
 Deserialize json value to an instance of types::IBlob.
common::expected< std::shared_ptr< types::IFile >, DeserializationError > aas_core::aas_3_0::jsonization::FileFrom (const nlohmann::json &json, bool additional_properties=false)
 Deserialize json value to an instance of types::IFile.
common::expected< std::shared_ptr< types::IAnnotatedRelationshipElement >, DeserializationError > aas_core::aas_3_0::jsonization::AnnotatedRelationshipElementFrom (const nlohmann::json &json, bool additional_properties=false)
 Deserialize json value to an instance of types::IAnnotatedRelationshipElement.
common::expected< std::shared_ptr< types::IEntity >, DeserializationError > aas_core::aas_3_0::jsonization::EntityFrom (const nlohmann::json &json, bool additional_properties=false)
 Deserialize json value to an instance of types::IEntity.
common::expected< std::shared_ptr< types::IEventPayload >, DeserializationError > aas_core::aas_3_0::jsonization::EventPayloadFrom (const nlohmann::json &json, bool additional_properties=false)
 Deserialize json value to an instance of types::IEventPayload.
common::expected< std::shared_ptr< types::IEventElement >, DeserializationError > aas_core::aas_3_0::jsonization::EventElementFrom (const nlohmann::json &json, bool additional_properties=false)
 Deserialize json value to an instance of types::IEventElement.
common::expected< std::shared_ptr< types::IBasicEventElement >, DeserializationError > aas_core::aas_3_0::jsonization::BasicEventElementFrom (const nlohmann::json &json, bool additional_properties=false)
 Deserialize json value to an instance of types::IBasicEventElement.
common::expected< std::shared_ptr< types::IOperation >, DeserializationError > aas_core::aas_3_0::jsonization::OperationFrom (const nlohmann::json &json, bool additional_properties=false)
 Deserialize json value to an instance of types::IOperation.
common::expected< std::shared_ptr< types::IOperationVariable >, DeserializationError > aas_core::aas_3_0::jsonization::OperationVariableFrom (const nlohmann::json &json, bool additional_properties=false)
 Deserialize json value to an instance of types::IOperationVariable.
common::expected< std::shared_ptr< types::ICapability >, DeserializationError > aas_core::aas_3_0::jsonization::CapabilityFrom (const nlohmann::json &json, bool additional_properties=false)
 Deserialize json value to an instance of types::ICapability.
common::expected< std::shared_ptr< types::IConceptDescription >, DeserializationError > aas_core::aas_3_0::jsonization::ConceptDescriptionFrom (const nlohmann::json &json, bool additional_properties=false)
 Deserialize json value to an instance of types::IConceptDescription.
common::expected< std::shared_ptr< types::IReference >, DeserializationError > aas_core::aas_3_0::jsonization::ReferenceFrom (const nlohmann::json &json, bool additional_properties=false)
 Deserialize json value to an instance of types::IReference.
common::expected< std::shared_ptr< types::IKey >, DeserializationError > aas_core::aas_3_0::jsonization::KeyFrom (const nlohmann::json &json, bool additional_properties=false)
 Deserialize json value to an instance of types::IKey.
common::expected< std::shared_ptr< types::IAbstractLangString >, DeserializationError > aas_core::aas_3_0::jsonization::AbstractLangStringFrom (const nlohmann::json &json, bool additional_properties=false)
 Deserialize json value to an instance of types::IAbstractLangString.
common::expected< std::shared_ptr< types::ILangStringNameType >, DeserializationError > aas_core::aas_3_0::jsonization::LangStringNameTypeFrom (const nlohmann::json &json, bool additional_properties=false)
 Deserialize json value to an instance of types::ILangStringNameType.
common::expected< std::shared_ptr< types::ILangStringTextType >, DeserializationError > aas_core::aas_3_0::jsonization::LangStringTextTypeFrom (const nlohmann::json &json, bool additional_properties=false)
 Deserialize json value to an instance of types::ILangStringTextType.
common::expected< std::shared_ptr< types::IEnvironment >, DeserializationError > aas_core::aas_3_0::jsonization::EnvironmentFrom (const nlohmann::json &json, bool additional_properties=false)
 Deserialize json value to an instance of types::IEnvironment.
common::expected< std::shared_ptr< types::IDataSpecificationContent >, DeserializationError > aas_core::aas_3_0::jsonization::DataSpecificationContentFrom (const nlohmann::json &json, bool additional_properties=false)
 Deserialize json value to an instance of types::IDataSpecificationContent.
common::expected< std::shared_ptr< types::IEmbeddedDataSpecification >, DeserializationError > aas_core::aas_3_0::jsonization::EmbeddedDataSpecificationFrom (const nlohmann::json &json, bool additional_properties=false)
 Deserialize json value to an instance of types::IEmbeddedDataSpecification.
common::expected< std::shared_ptr< types::ILevelType >, DeserializationError > aas_core::aas_3_0::jsonization::LevelTypeFrom (const nlohmann::json &json, bool additional_properties=false)
 Deserialize json value to an instance of types::ILevelType.
common::expected< std::shared_ptr< types::IValueReferencePair >, DeserializationError > aas_core::aas_3_0::jsonization::ValueReferencePairFrom (const nlohmann::json &json, bool additional_properties=false)
 Deserialize json value to an instance of types::IValueReferencePair.
common::expected< std::shared_ptr< types::IValueList >, DeserializationError > aas_core::aas_3_0::jsonization::ValueListFrom (const nlohmann::json &json, bool additional_properties=false)
 Deserialize json value to an instance of types::IValueList.
common::expected< std::shared_ptr< types::ILangStringPreferredNameTypeIec61360 >, DeserializationError > aas_core::aas_3_0::jsonization::LangStringPreferredNameTypeIec61360From (const nlohmann::json &json, bool additional_properties=false)
 Deserialize json value to an instance of types::ILangStringPreferredNameTypeIec61360.
common::expected< std::shared_ptr< types::ILangStringShortNameTypeIec61360 >, DeserializationError > aas_core::aas_3_0::jsonization::LangStringShortNameTypeIec61360From (const nlohmann::json &json, bool additional_properties=false)
 Deserialize json value to an instance of types::ILangStringShortNameTypeIec61360.
common::expected< std::shared_ptr< types::ILangStringDefinitionTypeIec61360 >, DeserializationError > aas_core::aas_3_0::jsonization::LangStringDefinitionTypeIec61360From (const nlohmann::json &json, bool additional_properties=false)
 Deserialize json value to an instance of types::ILangStringDefinitionTypeIec61360.
common::expected< std::shared_ptr< types::IDataSpecificationIec61360 >, DeserializationError > aas_core::aas_3_0::jsonization::DataSpecificationIec61360From (const nlohmann::json &json, bool additional_properties=false)
 Deserialize json value to an instance of types::IDataSpecificationIec61360.
nlohmann::json aas_core::aas_3_0::jsonization::Serialize (const types::IClass &that)
 Serialize that instance to a JSON value.