|
LuciadCPillar C# 2026.1.02
|
DataAnnotation that marks a string-typed DataProperty as holding JSON text.
More...
Public Member Functions | |
| JsonDataAnnotation () | |
| override bool | Equals (object other) |
| override int | GetHashCode () |
| Returns the hash code. | |
| Public Member Functions inherited from Luciad.Datamodels.DataAnnotation | |
| void | Dispose () |
| override bool | Equals (object other) |
| override int | GetHashCode () |
| Returns the hash value for this annotation. | |
Static Public Member Functions | |
| static bool | IsPresent (Luciad.Datamodels.DataProperty property) |
| Returns whether the given data property is annotated as holding JSON text. | |
DataAnnotation that marks a string-typed DataProperty as holding JSON text.
It lets a consumer distinguish a plain string property from properties with JSON string values, for example a property that a decoder could not map to a typed property and preserved as raw JSON text.
This is a flag-style annotation: all instances compare equal. Attach it to a DataProperty with the value type DataType.getStringType() through DataProperty.Builder.AddAnnotation.
|
inline |
|
inline |
|
inline |
Returns the hash code.
|
inlinestatic |
Returns whether the given data property is annotated as holding JSON text.
| property | the data property to check. |
JsonDataAnnotation.