struct CrSerializer::PropertyMetadata(IvarType, ClassType)
- CrSerializer::PropertyMetadata(IvarType, ClassType)
- Struct
- Value
- Object
Overview
Represents metadata associated with a property.
All properties are defined via annotations applied to the property, or pulled directly from the ivar declaration.
Included Modules
- CrSerializer::Metadata
Defined in:
property_metadata.crConstructors
Instance Method Summary
- 
        #aliases : Array(String)
        
          Deserialize this property from the property's name or any name in aliases. 
- 
        #class : ClassType.class
        
          The class that the property is part of. 
- 
        #external_name : String
        
          The name that should be used for serialization/deserialization. 
- 
        #groups : Array(String)
        
          The serialization groups this property belongs to. 
- 
        #name : String
        
          The name of the property. 
- 
        #since_version : SemanticVersion?
        
          Represents the first version this property is available. 
- 
        #since_version=(since_version : SemanticVersion?)
        
          Represents the first version this property is available. 
- 
        #skip_when_empty? : Bool
        
          If this property should not be serialized if it is empty. 
- 
        #type : IvarType.class
        
          The type of the property. 
- 
        #until_version : SemanticVersion?
        
          Represents the last version this property was available. 
- 
        #until_version=(until_version : SemanticVersion?)
        
          Represents the last version this property was available. 
- 
        #value : IvarType
        
          The value of the property. 
Constructor Detail
Instance Method Detail
Deserialize this property from the property's name or any name in aliases.
See CRS::Name.
Represents the first version this property is available.
If this property should not be serialized if it is empty.
See CRS::SkipWhenEmpty.
Represents the last version this property was available.