aas-core3 1.0.0
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 >, DeserializationErroraas_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 >, DeserializationErroraas_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 >, DeserializationErroraas_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 >, DeserializationErroraas_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 >, DeserializationErroraas_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 >, DeserializationErroraas_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 >, DeserializationErroraas_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 >, DeserializationErroraas_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 >, DeserializationErroraas_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 >, DeserializationErroraas_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 >, DeserializationErroraas_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 >, DeserializationErroraas_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 >, DeserializationErroraas_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 >, DeserializationErroraas_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 >, DeserializationErroraas_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 >, DeserializationErroraas_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 >, DeserializationErroraas_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 >, DeserializationErroraas_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 >, DeserializationErroraas_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 >, DeserializationErroraas_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 >, DeserializationErroraas_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 >, DeserializationErroraas_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 >, DeserializationErroraas_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 >, DeserializationErroraas_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 >, DeserializationErroraas_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 >, DeserializationErroraas_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 >, DeserializationErroraas_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 >, DeserializationErroraas_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 >, DeserializationErroraas_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 >, DeserializationErroraas_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 >, DeserializationErroraas_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 >, DeserializationErroraas_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 >, DeserializationErroraas_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 >, DeserializationErroraas_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 >, DeserializationErroraas_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 >, DeserializationErroraas_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 >, DeserializationErroraas_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 >, DeserializationErroraas_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 >, DeserializationErroraas_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 >, DeserializationErroraas_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 >, DeserializationErroraas_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 >, DeserializationErroraas_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 >, DeserializationErroraas_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 >, DeserializationErroraas_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 >, DeserializationErroraas_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 >, DeserializationErroraas_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 >, DeserializationErroraas_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 >, DeserializationErroraas_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 >, DeserializationErroraas_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 >, DeserializationErroraas_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.