Namespace: OpenEdge.Core.Json
Interface
IJsonSerializer
Parent classes:
Inherits: Progress.Lang.Object

Copyright (c) 2019 by Progress Software Corporation. All rights reserved.
File:IJsonSerializer
Purpose:Indicates that an object supports serialization to JSON
Author(s):pjudge
Created:2019-03-21
Notes:* Classes implementing this interface SHOULD have a default
public constructor for deserialisation purposes, since the
expectation is that the entire object's state is taken from
the input argument to the deserialization method
/* SERIALIZATION METHOD:returns a JsonConstruct (JsonDataType:OBJECT or JsonDataType:ARRAY) representation
of this object.




Method Summary
Options Name Purpose
FromJson (JsonConstruct) /* DESERIALIZATION METHOD: populates this object with data from the JSON representation. @param JsonConstruct A JSON representation of this object. May be unknown (JsonDataType:NULL). */
Progress.Json.ObjectModel.JsonConstruct ToJsonConstruct () /* SERIALIZATION METHOD:returns a JsonConstruct (JsonDataType:OBJECT or JsonDataType:ARRAY) representation of this object. @return JsonConstruct A JSON representation of this object. May be unknown (JsonDataType:NULL). */


Method Detail
Top

FromJson (JsonConstruct)

/* DESERIALIZATION METHOD: populates this object with data from the JSON representation.
Parameters:
pJson Progress.Json.ObjectModel.JsonConstruct
Top

Progress.Json.ObjectModel.JsonConstruct ToJsonConstruct ()

/* SERIALIZATION METHOD:returns a JsonConstruct (JsonDataType:OBJECT or JsonDataType:ARRAY) representation
of this object.
Returns Progress.Json.ObjectModel.JsonConstruct
JsonConstruct A JSON representation of this object. May be unknown (JsonDataType:NULL).


Copyright © 2022 Progress Software Corporation. All rights Reserved.

Progress® OpenEdge® Release 11.7.15