Namespace: Consultingwerk.Assertion
Class 
JsonAssert Copy to Clipboard
Parent classes:
Inherits: Progress.Lang.Object

Purpose: Verifies that the provided JSON object has a property with
the given name
Notes:



Top Method Summary
Options Name Purpose
+ ExtentType (JsonArray, character, integer, integer) Verifies that the extent of the JSON array is of the given JSON data type
+ HasProperty (JsonObject, character, character) Verifies that the provided JSON object has a property with the given name
+ PropertyType (JsonObject, character, character, integer) Verifies that the property of the JSON object is of the given JSON data type


Method Detail
Top

PUBLIC ExtentType (JsonArray, character, integer, integer)

Purpose: Verifies that the extent of the JSON array is of the given
JSON data type
Notes:

Parameters:
poArray Progress.Json.ObjectModel.JsonArray
The reference to the JSON Array
pcDescription CHARACTER
The description of the JSON object
piIndex INTEGER
The index of the array entry to check
piJsonDataType INTEGER
The Progress.Json.ObjectModel.JsonDataType value
Top

PUBLIC HasProperty (JsonObject, character, character)

Purpose: Verifies that the provided JSON object has a property with
the given name
Notes:

Parameters:
poJson Progress.Json.ObjectModel.JsonObject
The reference to the JSON object
pcDescription CHARACTER
The description of the JSON object
pcPropertyName CHARACTER
The name of the property to test for
Top

PUBLIC PropertyType (JsonObject, character, character, integer)

Purpose: Verifies that the property of the JSON object is of the given
JSON data type
Notes:

Parameters:
poJson Progress.Json.ObjectModel.JsonObject
The reference to the JSON object
pcDescription CHARACTER
The description of the JSON object
pcPropertyName CHARACTER
The name of the property to test for
piJsonDataType INTEGER
The Progress.Json.ObjectModel.JsonDataType value


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