Click or drag to resize

JsonValueAdaptor Class

JSON adaptor for the underlying value in TypedValue.
Inheritance Hierarchy
SystemObject
  MFiles.VAF.Configuration.JsonAdaptorJsonValueAdaptor

Namespace:  MFiles.VAF.Configuration.JsonAdaptor
Assembly:  MFiles.VAF.Configuration (in MFiles.VAF.Configuration.dll) Version: 2.1.0.1 (2.1.0.1)
Syntax
C#
[SerializableAttribute]
[DataContractAttribute]
public class JsonValueAdaptor

The JsonValueAdaptor type exposes the following members.

Constructors
  NameDescription
Public methodJsonValueAdaptor
Simple Constructor.
Public methodJsonValueAdaptor(MFDataType, Object)
Constructor that sets the value immediately.
Top
Properties
  NameDescription
Public propertyBoolean
Boolean value. Only available when JsonValueAdaptorValueProperty = Boolean Will only be serialized if available. Accepts Boolean and values that are implicitly cast to it.
Public propertyDate
Date value. Only available (not null) when JsonValueAdaptorValueProperty = Date Will only be serialized if available. Accepts DateTime and strings that can be parsed to it.
Public propertyFloat
Float value. Only available when JsonValueAdaptorValueProperty = Float Will only be serialized if available. Accepts Double and values that are implicitly cast to it.
Public propertyInteger
Integer value. Only available when JsonValueAdaptorValueProperty = Integer Will only be serialized if available. Accepts Int64 and values that are implicitly cast to it.
Public propertyIsNull
Indicates when the value is considered null. Only available when JsonValueAdaptorValueProperty = Null Will only be serialized if available, and in those cases, it is always set to true. Setting the value to false will have no effect on the object.
Public propertyLookup
Lookup value. Only available (not null) when JsonValueAdaptorValueProperty = Date Will only be serialized if available. Accepts all types adaptable via TryAdapt(Object, LookupJA).
Public propertyLookups
Public propertyText
Text value. Only available when JsonValueAdaptorValueProperty = Text Will only be serialized if available.
Public propertyTime
Time value. Only available (not null) when JsonValueAdaptorValueProperty = Time Will only be serialized if available. Accepts DateTime and strings that can be parsed to it.
Public propertyTimestamp
Timestamp value. Only available (not null) when JsonValueAdaptorValueProperty = Timestamp Will only be serialized if available. Accepts DateTime and strings that can be parsed to it.
Public propertyValue
The underlying value of the object.
Public propertyvalueProperty
Indicates the property that will be serialized for the current value.
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodSetValue
Sets the object's underlying value with an explicit data type.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also