JsonSerializerSerialize Method (Object, Type, AbstractMetadata) |
Serialize the object "o", in type of objectType, with the metadata provided (optional)
Namespace:
Hummingbird.TestFramework.Serialization
Assembly:
Hummingbird.TestFramework (in Hummingbird.TestFramework.dll) Version: 1.2.0.0
Syntax public override string Serialize(
Object o,
Type objectType,
AbstractMetadata metadata
)
Public Overrides Function Serialize (
o As Object,
objectType As Type,
metadata As AbstractMetadata
) As String
public:
virtual String^ Serialize(
Object^ o,
Type^ objectType,
AbstractMetadata^ metadata
) override
abstract Serialize :
o : Object *
objectType : Type *
metadata : AbstractMetadata -> string
override Serialize :
o : Object *
objectType : Type *
metadata : AbstractMetadata -> string
Parameters
- o
- Type: SystemObject
Object to be serialized. This object must be an instance of class (or sub-class) indicated by objectType. - objectType
- Type: SystemType
Type of the object - metadata
- Type: Hummingbird.TestFramework.ServicesAbstractMetadata
Metadata to be considered during serialization
Return Value
Type:
StringA string representation of the object using the selected serializing format
See Also