JsonSerializer
Overview
Serializer implementation that serializes classes to json.
Location
- Reference: Island.fx
- Namespace: RemObjects.Elements.System
- Ancestry: Serializer | JsonSerializer
constructor protected (declared in Serializer)
constructor
JsonSerializer()
init()
JsonSerializer()
Sub New()
EndList override virtual
method EndList
void EndList()
func EndList()
void EndList()
Sub EndList()
EndObject override virtual
method EndObject
void EndObject()
func EndObject()
void EndObject()
Sub EndObject()
Equals virtual (declared in Object)
Default constructor.
Parameters:
- aOther: the reference to compare this with.
Finalize protected virtual (declared in Object)
method Finalize
void Finalize()
func Finalize()
void Finalize()
Sub 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()
Function GetHashCode() As Int32
GetType (declared in Object)
Returns the actual type of this class
method GetType: Type
Type GetType()
func GetType() -> Type
Type GetType()
Function GetType() As Type
ReferenceEquals (declared in Object)
Compares two references for equivalence (even if they have an equals operator)
Parameters:
- a: left value
- b: right value
SelectProperty (Boolean, PropertyInfo) 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)
Sub SelectProperty(aFirst As Boolean, aProperty As PropertyInfo)
Parameters:
- aFirst:
- aProperty:
Parameters:
- aFirst:
- aProperty:
StartList override virtual
method StartList
void StartList()
func StartList()
void StartList()
Sub StartList()
StartListEntry override virtual
method StartListEntry(aFirst: Boolean)
void StartListEntry(Boolean aFirst)
func StartListEntry(_ aFirst: Boolean)
void StartListEntry(Boolean aFirst)
Sub StartListEntry(aFirst As Boolean)
Parameters:
- aFirst:
StartObject override virtual
method StartObject
void StartObject()
func StartObject()
void StartObject()
Sub StartObject()
ToHexString
Parameters:
- c:
- len:
ToString override virtual
Gets the string representation of this method.
method ToString: String
String ToString()
func ToString() -> String
String ToString()
Function ToString() As String
Write (declared in Serializer)
method Write(anObj: Object)
void Write(Object anObj)
func Write(_ anObj: Object)
void Write(Object anObj)
Sub Write(anObj As Object)
Parameters:
- anObj:
WriteString
method WriteString(Value: String)
void WriteString(String Value)
func WriteString(_ Value: String)
void WriteString(String Value)
Sub WriteString(Value As String)
Parameters:
- Value:
WriteValue override virtual
method WriteValue(aValue: Object)
void WriteValue(Object aValue)
func WriteValue(_ aValue: Object)
void WriteValue(Object aValue)
Sub WriteValue(aValue As Object)
Parameters:
- aValue:
ReferenceEquals (declared in Object)
Compares two references for equivalence (even if they have an equals operator)
Parameters:
- a: left value
- b: right value
constructor protected (declared in Serializer)
constructor
JsonSerializer()
init()
JsonSerializer()
Sub New()
EndList override virtual
method EndList
void EndList()
func EndList()
void EndList()
Sub EndList()
EndObject override virtual
method EndObject
void EndObject()
func EndObject()
void EndObject()
Sub EndObject()
Equals virtual (declared in Object)
Default constructor.
Parameters:
- aOther: the reference to compare this with.
Finalize protected virtual (declared in Object)
method Finalize
void Finalize()
func Finalize()
void Finalize()
Sub 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()
Function GetHashCode() As Int32
GetType (declared in Object)
Returns the actual type of this class
method GetType: Type
Type GetType()
func GetType() -> Type
Type GetType()
Function GetType() As Type
SelectProperty (Boolean, PropertyInfo) 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)
Sub SelectProperty(aFirst As Boolean, aProperty As PropertyInfo)
Parameters:
- aFirst:
- aProperty:
Parameters:
- aFirst:
- aProperty:
StartList override virtual
method StartList
void StartList()
func StartList()
void StartList()
Sub StartList()
StartListEntry override virtual
method StartListEntry(aFirst: Boolean)
void StartListEntry(Boolean aFirst)
func StartListEntry(_ aFirst: Boolean)
void StartListEntry(Boolean aFirst)
Sub StartListEntry(aFirst As Boolean)
Parameters:
- aFirst:
StartObject override virtual
method StartObject
void StartObject()
func StartObject()
void StartObject()
Sub StartObject()
ToHexString
Parameters:
- c:
- len:
ToString override virtual
Gets the string representation of this method.
method ToString: String
String ToString()
func ToString() -> String
String ToString()
Function ToString() As String
Write (declared in Serializer)
method Write(anObj: Object)
void Write(Object anObj)
func Write(_ anObj: Object)
void Write(Object anObj)
Sub Write(anObj As Object)
Parameters:
- anObj:
WriteString
method WriteString(Value: String)
void WriteString(String Value)
func WriteString(_ Value: String)
void WriteString(String Value)
Sub WriteString(Value As String)
Parameters:
- Value:
WriteValue override virtual
method WriteValue(aValue: Object)
void WriteValue(Object aValue)
func WriteValue(_ aValue: Object)
void WriteValue(Object aValue)
Sub WriteValue(aValue As Object)
Parameters:
- aValue: