util.JSONObject.has()

util.JSONObject.has() checks whether the JSON object includes the element with the specified key.

Syntax

CALL util.JSONObject.has("key")

Parameters

key

a key of the element of the JSON object (= the key:value pair )

Usage and examples:

util.JSONObject.has() scans the JSON object for the element (= the key:value pair) with the specified key.

This method returns 1 (= TRUE) if there is such an element in the JSON object and 0 (= FALSE) if it is not.

 

 

Contact Us

Privacy Policy

Copyright © 2025 Querix, (UK) Ltd.