Namespace: OpenEdge.BusinessLogic.IO
Type: Class QueryEntryDeserializer
Parent Classes:
Inherits: Progress.Lang.Object


/* *************************************************************************************************************************
Copyright (c) 2020 by Progress Software Corporation and/or one of its subsidiaries or affiliates. All rights reserved.
File:QueryEntryDeserializer
Purpose:Helper class to deserialize a JSON object into an instance of
IQueryEntry - either a IQueryGroup or IQueryPredicate
Author(s):pjudge
Created:2020-09-17
/* Default constructor is private to avoid instantiation



Method Summary
  Options Name Purpose
  Ccs.BusinessLogic.IQueryEntry QueryEntryFromJson (JsonObject) /* Attempts to convert a JSON object into a IQueryEntry (either an IQueryGroup or IQueryPredicate). @param JsonObject The serialised JSON data. May be null/unknown. @return IQueryEntry The query entry representing that JSON. Either an IQueryGroup or IQueryPredicate. Always returns at least a IQueryPRedicate, even if the JSON is null or badly-formed. */

Constructor Summary
  Options Name Purpose
  QueryEntryDeserializer () /* Default constructor is private to avoid instantiation */

Method Detail
Top

Ccs.BusinessLogic.IQueryEntry QueryEntryFromJson (JsonObject)

/* Attempts to convert a JSON object into a IQueryEntry (either an IQueryGroup or IQueryPredicate).
returns at least a IQueryPRedicate, even if the JSON is null or badly-formed.
Parameters:
pJson Progress.Json.ObjectModel.JsonObject
 
Returns Ccs.BusinessLogic.IQueryEntry
  IQueryEntry The query entry representing that JSON. Either an IQueryGroup or IQueryPredicate. Always


Constructor Detail
Top

QueryEntryDeserializer ()

/* Default constructor is private to avoid instantiation