365 business development logo

TestJsonToken Method

Test whether the specified JSON token exists or does not.

Syntax

	[Boolean := ] TestJsonToken(json: JsonObject; keyName: Text)

Parameters

json

Type: JsonObject
JSON object containing the requested token.

keyName

Type: Text
Requested key name as string.

Return Value

Boolean

True if JSON token exist.