Namespace: OpenEdge.DataAdmin.Core
Class
JSONWriter
Parent classes:
Inherits: OpenEdge.DataAdmin.Core.DataAdminWriter
Implements: IDataAdminExporter

/* Copyright (c) 2011 by progress Software Corporation.
/*
/* all rights reserved. no part of this program or document
/* may be reproduced in any form or by any means without
/* permission in writing from progress Software Corporation.
Purpose:Write IDataAdminSerializable in JSON format
to file, longchar, memptr or stream,
Author(s):hdaniels
Created:Mon Aug 16 20:18:09 EDT 2010
Notes:This is often used by the various ExportTree and
Export methods of the objects, but not always




Method Summary
Options Name Purpose
handleError (Error)
WriteToFile (IDataAdminSerializable, character, character) /** WriteToFile @param Serializable IDataAdminSerializable is implemented by all entities and collections @param FileName for output (typically .json) @param Mode All, Object - Unsupported, List - Unsupported collection names */
WriteToFile (IDataAdminSerializable, character, character, IPageRequest)
LONGCHAR WriteToLongchar (IDataAdminSerializable, character) /** WriteToLongchar @returns longchar with exported data @param Serializable IDataAdminSerializable is implemented by all entities and collections @param Mode All, Object - Unsupported, List - Unsupported collection names */
WriteToMemptr (IDataAdminSerializable, memptr, character) /** WriteToMemptr @param Serializable IDataAdminSerializable is implemented by all entities and collections @param Memptr for output @param Mode All, Object - Unsupported, List - Unsupported collection names */
WriteToStream (IDataAdminSerializable, handle, character) /** WriteToStream @param Serializable IDataAdminSerializable is implemented by all entities and collections @param Stream-handle for output @param Mode All, Object - Unsupported, List - Unsupported collection names */

Constructor Summary
Options Name Purpose
JSONWriter ()

Property Summary
Options Name Purpose
LOGICAL Formatted


Method Detail
Top

handleError (Error)

Parameters:
e Progress.Lang.Error
Top

WriteToFile (IDataAdminSerializable, character, character)

Purpose: WriteToFile
collection names
Parameters:
serializable IDataAdminSerializable
IDataAdminSerializable is implemented by all entities and collections
pcFile CHARACTER
pccollection CHARACTER
Top

WriteToFile (IDataAdminSerializable, character, character, IPageRequest)

Parameters:
serializable IDataAdminSerializable
pcFile CHARACTER
pccollection CHARACTER
pageReq OpenEdge.DataAdmin.Rest.IPageRequest
Top

LONGCHAR WriteToLongchar (IDataAdminSerializable, character)

Purpose: WriteToLongchar
collection names
Parameters:
serializable IDataAdminSerializable
IDataAdminSerializable is implemented by all entities and collections
pccollection CHARACTER
Returns LONGCHAR
s longchar with exported data
Top

WriteToMemptr (IDataAdminSerializable, memptr, character)

Purpose: WriteToMemptr
collection names
Parameters:
serializable IDataAdminSerializable
IDataAdminSerializable is implemented by all entities and collections
m MEMPTR
pccollection CHARACTER
Top

WriteToStream (IDataAdminSerializable, handle, character)

Purpose: WriteToStream
collection names
Parameters:
serializable IDataAdminSerializable
IDataAdminSerializable is implemented by all entities and collections
phStream HANDLE
pccollection CHARACTER


Constructor Detail
Top

JSONWriter ()



Property Detail
Top

LOGICAL Formatted

Returns LOGICAL


Copyright © 2022 Progress Software Corporation. All rights Reserved.

Progress® OpenEdge® Release 11.7.15