JsonObject.Contains(Text) Method

Version: Available or changed with runtime version 1.0.

Verifies if a JsonObject contains a property with a given key.

Syntax

Ok :=   JsonObject.Contains(Key: Text)

Parameters

JsonObject
 Type: JsonObject
An instance of the JsonObject data type.

Key
 Type: Text

Return Value

Ok
 Type: Boolean
true if the object contains a property with the given key; otherwise, false.

See Also

JsonObject Data Type
Get Started with AL
Developing Extensions