Top Method Summary
Options Name Purpose
+ Consultingwerk.ISerializable DeserializeInstance (longchar) Deserializes a LONGCHAR representation of an object to a new instance
# Consultingwerk.ISerializable DeserializeNativeJson (longchar) Deserializes a LONGCHAR representation of an ABL native serializable object to a new instance
# CHARACTER GetClassNameFromNode (handle) Returns the ABL Class name that should be used to serialize from an XML Document (Consultingwerk.XmlSerializable).


Method Detail
Top

PUBLIC Consultingwerk.ISerializable DeserializeInstance (longchar)

Purpose: Deserializes a LONGCHAR representation of an object to a new
instance
Notes: Supports XML and JSON Serialized objects

Parameters:
plcSerializable LONGCHAR
The serialized representation to be deserialized
Returns Consultingwerk.ISerializable
The LONGCHAR representation of the ISerializable objects data
Top

PROTECTED Consultingwerk.ISerializable DeserializeNativeJson (longchar)

Purpose: Deserializes a LONGCHAR representation of an ABL native serializable
object to a new instance
Notes: Supports XML and JSON Serialized objects

Parameters:
plcSerializable LONGCHAR
The serialized representation to be deserialized
Returns Consultingwerk.ISerializable
The LONGCHAR representation of the ISerializable objects data
Top

PROTECTED CHARACTER GetClassNameFromNode (handle)

Purpose: Returns the ABL Class name that should be used to serialize from
an XML Document (Consultingwerk.XmlSerializable).
Notes: When the node does not contain the SerializedType attribute it may
need to be required to overload this method in a derived class and
provide a custom logic to return the class name base on the root node
name

Parameters:
phRootNode HANDLE
The root document element
Returns CHARACTER
The class name to be used for the deserialization


©2006-2025 Consultingwerk Ltd.         info@consultingwerk.de         http://www.consultingwerk.de       20.01.2025 18:13:45