Namespace: Consultingwerk
Class 
NativeJsonSerializable Copy to Clipboard
Parent classes:
Inherits: Progress.Lang.Object
Implements: Consultingwerk.ISerializable
SERIALIZABLE

Purpose: Returns an LONGCHAR (JSON) representation of the
object instanced
Notes:



Top Method Summary
Options Name Purpose
+ Consultingwerk.NativeJsonSerializable Deserialize (JsonObject, character) Deserializes the given JSON without type information into a NativeSerializable object
+ Deserialize (longchar) Not supported
+ Consultingwerk.NativeJsonSerializable Deserialize (longchar, character) Deserializes the given JSON without type information into a NativeSerializable object
+ LONGCHAR Serialize () Returns an LONGCHAR (JSON) representation of the object instanced
+ Progress.Json.ObjectModel.JsonObject ToSimpleJsonObject () Returns a simple JSON object


Method Detail
Top

PUBLIC Consultingwerk.NativeJsonSerializable Deserialize (JsonObject, character)

Purpose: Deserializes the given JSON without type information into a NativeSerializable
object
Notes: Adds the type-information to the JSON before passing it to the Deserialization routine

Parameters:
poJsonData Progress.Json.ObjectModel.JsonObject
The JSON Object with the data
pcTypeName CHARACTER
The class name to add to the JSON
Returns Consultingwerk.NativeJsonSerializable
The deserialized object instance
Top

PUBLIC Deserialize (longchar)

Purpose: Not supported
Notes:

Parameters:
pcSerializedReprasentation LONGCHAR
The stored LONGCHAR representation of the objects data
Top

PUBLIC Consultingwerk.NativeJsonSerializable Deserialize (longchar, character)

Purpose: Deserializes the given JSON without type information into a NativeSerializable
object
Notes: Adds the type-information to the JSON before passing it to the Deserialization routine

Parameters:
plcJsonData LONGCHAR
The LONGCHAR with the Json data
pcTypeName CHARACTER
The class name to inject into the serialized json
Returns Consultingwerk.NativeJsonSerializable
The deserialized object instance
Top

PUBLIC LONGCHAR Serialize ()

Purpose: Returns an LONGCHAR (JSON) representation of the
object instanced
Notes:

Returns LONGCHAR
The LONGCHAR representation of the ISerializable objects data
Top

PUBLIC Progress.Json.ObjectModel.JsonObject ToSimpleJsonObject ()

Purpose: Returns a simple JSON object
Notes: Does not include Envelope added by the JsonSerializer

Returns Progress.Json.ObjectModel.JsonObject
The JsonObject


©2006-2023 Consultingwerk Ltd.         info@consultingwerk.de         http://www.consultingwerk.de       08.12.2024 12:59:28