JSONPropertyName
Returns the name of a property from a JSON object at a given index.
Syntax
JSONPropertyName(jsonString, position)
Enabled For
For a description of the business object categories, see Notes on "Enabled For".
Business Object Category | Yes/No |
|---|---|
Business Rules: Before-Save Rules | Yes |
Business Rules: Calculation Rules (After Save, with or without Also Recalculate on Load) | Yes1 |
Business Rules: Calculation Rules (Before Save or Always, without Also Recalculate On Load) | Yes |
Business Rules: Calculation Rules (Before Save or Always, with Recalculate On Load) | Yes1 |
Business Rules: Editing Rules | Yes2 |
Business Rules: Initialization Rules | Yes |
Business Rules: Read Only Rules | No |
Business Rules: Required Rules | Yes2 |
Business Rules: Validation Rules | Yes |
Client Expressions | No |
Object Permissions | No |
Services | No |
LDAP | No |
Mobile | No |
Quick Actions (except UI Quick Actions) | Yes |
UI Quick Actions | No |
Reports | Yes |
Search/Dashboard without field references | No |
Search/Dashboard with field references | No |
| |
Parameters
Parameter | Description |
|---|---|
jsonString | Input JSON Object String |
position | Zero-based index of property whose name to return |
Return Value
Returns the property name for given position from the input JSON string.
Example
$(JSONPropertyName('{"color": "red","price": 19.95,"used": "True","returnDate": "2012-04-23T18:25:43.5111Z"}', 2))
Returns this value: used
