Show / Hide Table of Contents

Class SerializationInfo

Describes a type's member information including the serialized name and whether the name should be transformed using the serializer's name transformation logic.

Inheritance
System.Object
SerializationInfo
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Manatee.Json.Serialization
Assembly: Manatee.Json.dll
Syntax
public class SerializationInfo

Properties

| Improve this Doc View Source

MemberInfo

Gets the member information. Could be a property or a field.

Declaration
public MemberInfo MemberInfo { get; }
Property Value
Type Description
System.Reflection.MemberInfo
| Improve this Doc View Source

SerializationName

Gets the value of the key under which the property should be serialized (the JSON property).

Declaration
public string SerializationName { get; }
Property Value
Type Description
System.String
| Improve this Doc View Source

ShouldTransform

Gets whether the name should be transformed by SerializationNameTransform or DeserializationNameTransform.

Declaration
public bool ShouldTransform { get; }
Property Value
Type Description
System.Boolean

Methods

| Improve this Doc View Source

Equals(Nullable<Object>)

Determines whether the specified object is equal to the current object.

Declaration
public override bool Equals(object? obj)
Parameters
Type Name Description
System.Nullable<System.Object> obj

The object to compare with the current object.

Returns
Type Description
System.Boolean

true if the specified object is equal to the current object; otherwise, false.

| Improve this Doc View Source

GetHashCode()

Serves as the default hash function.

Declaration
public override int GetHashCode()
Returns
Type Description
System.Int32

A hash code for the current object.

Overrides
System.Object.GetHashCode()
  • Improve this Doc
  • View Source
Back to top Generated by DocFX