JsonSerializer

Overview

Location

 

constructor

 

constructor

 

JsonSerializer()

 

init()

 

JsonSerializer()

EndList  override virtual

 

method EndList

 

void EndList()

 

func EndList()

 

void EndList()

EndObject  override virtual

 

method EndObject

 

void EndObject()

 

func EndObject()

 

void EndObject()

Equals  virtual    (declared in Object)

Returns true if the target object matches this one, by default compares the reference.

 

method Equals(obj: Object): Boolean

 

Boolean Equals(Object obj)

 

func Equals(_ obj: Object) -> Boolean

 

Boolean Equals(Object obj)

Parameters:

  • obj: the reference to compare this with.

Finalize  protected virtual    (declared in Object)

Finalizer implementation. If not overriden it's not called at all, the runtime checks if there is an override before calling a finalizer.

 

method Finalize

 

void Finalize()

 

func Finalize()

 

void Finalize()

GetHashCode  virtual    (declared in Object)

Returns a hashcode for this object. Overriden implementations should make sure that the number returned here is constant given the same object.

 

method GetHashCode: Int32

 

Int32 GetHashCode()

 

func GetHashCode() -> Int32

 

Int32 GetHashCode()

GetType    (declared in Object)

Returns the actual type of this class

 

method GetType: Type

 

Type GetType()

 

func GetType() -> Type

 

Type GetType()

ReferenceEquals    (declared in Object)

Compares two references for equivalence (even if they have an equals operator)

 

class method ReferenceEquals(a: Object; b: Object): Boolean

 

static Boolean ReferenceEquals(Object a, Object b)

 

static func ReferenceEquals(_ a: Object, _ b: Object) -> Boolean

 

static Boolean ReferenceEquals(Object a, Object b)

Parameters:

  • a: left value
  • b: right value

SelectProperty  override virtual

 

method SelectProperty(aFirst: Boolean; aProperty: PropertyInfo)

 

void SelectProperty(Boolean aFirst, PropertyInfo aProperty)

 

func SelectProperty(_ aFirst: Boolean, _ aProperty: PropertyInfo)

 

void SelectProperty(Boolean aFirst, PropertyInfo aProperty)

Parameters:

  • aFirst:
  • aProperty:

StartList  override virtual

 

method StartList

 

void StartList()

 

func StartList()

 

void StartList()

StartListEntry  override virtual

 

method StartListEntry(aFirst: Boolean)

 

void StartListEntry(Boolean aFirst)

 

func StartListEntry(_ aFirst: Boolean)

 

void StartListEntry(Boolean aFirst)

Parameters:

  • aFirst:

StartObject  override virtual

 

method StartObject

 

void StartObject()

 

func StartObject()

 

void StartObject()

ToHexString

 

method ToHexString(c: Int64; len: Int32): String

 

String ToHexString(Int64 c, Int32 len)

 

func ToHexString(_ c: Int64, _ len: Int32) -> String

 

String ToHexString(Int64 c, Int32 len)

Parameters:

  • c:
  • len:

ToString  override virtual

 

method ToString: String

 

String ToString()

 

func ToString() -> String

 

String ToString()

Write    (declared in Serializer)

 

method Write(anObj: Object)

 

void Write(Object anObj)

 

func Write(_ anObj: Object)

 

void Write(Object anObj)

Parameters:

  • anObj:

WriteString

 

method WriteString(Value: String)

 

void WriteString(String Value)

 

func WriteString(_ Value: String)

 

void WriteString(String Value)

Parameters:

  • Value:

WriteValue  override virtual

 

method WriteValue(aValue: Object)

 

void WriteValue(Object aValue)

 

func WriteValue(_ aValue: Object)

 

void WriteValue(Object aValue)

Parameters:

  • aValue:

 

ReferenceEquals    (declared in Object)

Compares two references for equivalence (even if they have an equals operator)

 

class method ReferenceEquals(a: Object; b: Object): Boolean

 

static Boolean ReferenceEquals(Object a, Object b)

 

static func ReferenceEquals(_ a: Object, _ b: Object) -> Boolean

 

static Boolean ReferenceEquals(Object a, Object b)

Parameters:

  • a: left value
  • b: right value

 

constructor

 

constructor

 

JsonSerializer()

 

init()

 

JsonSerializer()

EndList  override virtual

 

method EndList

 

void EndList()

 

func EndList()

 

void EndList()

EndObject  override virtual

 

method EndObject

 

void EndObject()

 

func EndObject()

 

void EndObject()

Equals  virtual    (declared in Object)

Returns true if the target object matches this one, by default compares the reference.

 

method Equals(obj: Object): Boolean

 

Boolean Equals(Object obj)

 

func Equals(_ obj: Object) -> Boolean

 

Boolean Equals(Object obj)

Parameters:

  • obj: the reference to compare this with.

Finalize  protected virtual    (declared in Object)

Finalizer implementation. If not overriden it's not called at all, the runtime checks if there is an override before calling a finalizer.

 

method Finalize

 

void Finalize()

 

func Finalize()

 

void Finalize()

GetHashCode  virtual    (declared in Object)

Returns a hashcode for this object. Overriden implementations should make sure that the number returned here is constant given the same object.

 

method GetHashCode: Int32

 

Int32 GetHashCode()

 

func GetHashCode() -> Int32

 

Int32 GetHashCode()

GetType    (declared in Object)

Returns the actual type of this class

 

method GetType: Type

 

Type GetType()

 

func GetType() -> Type

 

Type GetType()

SelectProperty  override virtual

 

method SelectProperty(aFirst: Boolean; aProperty: PropertyInfo)

 

void SelectProperty(Boolean aFirst, PropertyInfo aProperty)

 

func SelectProperty(_ aFirst: Boolean, _ aProperty: PropertyInfo)

 

void SelectProperty(Boolean aFirst, PropertyInfo aProperty)

Parameters:

  • aFirst:
  • aProperty:

StartList  override virtual

 

method StartList

 

void StartList()

 

func StartList()

 

void StartList()

StartListEntry  override virtual

 

method StartListEntry(aFirst: Boolean)

 

void StartListEntry(Boolean aFirst)

 

func StartListEntry(_ aFirst: Boolean)

 

void StartListEntry(Boolean aFirst)

Parameters:

  • aFirst:

StartObject  override virtual

 

method StartObject

 

void StartObject()

 

func StartObject()

 

void StartObject()

ToHexString

 

method ToHexString(c: Int64; len: Int32): String

 

String ToHexString(Int64 c, Int32 len)

 

func ToHexString(_ c: Int64, _ len: Int32) -> String

 

String ToHexString(Int64 c, Int32 len)

Parameters:

  • c:
  • len:

ToString  override virtual

 

method ToString: String

 

String ToString()

 

func ToString() -> String

 

String ToString()

Write    (declared in Serializer)

 

method Write(anObj: Object)

 

void Write(Object anObj)

 

func Write(_ anObj: Object)

 

void Write(Object anObj)

Parameters:

  • anObj:

WriteString

 

method WriteString(Value: String)

 

void WriteString(String Value)

 

func WriteString(_ Value: String)

 

void WriteString(String Value)

Parameters:

  • Value:

WriteValue  override virtual

 

method WriteValue(aValue: Object)

 

void WriteValue(Object aValue)

 

func WriteValue(_ aValue: Object)

 

void WriteValue(Object aValue)

Parameters:

  • aValue: