GET_PROPERTY function

GET_PROPERTY function

Function Name Description Usage Input parameter Return value
GET_PROPERTY Returns the value of the specified property in a JSON object. GET_PROPERTY(value) Property name. Value of the property.

Supported data type

The GET_PROPERTY function supports the following data type:

  • JSON

Example: Get the value of a property in a JSON object

Sample data: $var1$ = {"productId": 23,"productName": "radio"}

Usage: $var1$.GET_PROPERTY("productId")

Get the value of the property productId.

Output: 23

Recommendation

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年12月09日 UTC.