|
|
Indicates whether the given property exists in the JSON object.
This viper method also supports the extension viper syntax.
Syntax
| Smartsite SXML |
|
|---|---|
boolean this.exists(string name) |
|
Extension Viper Syntax
| Smartsite SXML |
|
|---|---|
boolean page.<id>.exists(string name) |
|
Parameters
| Name | Data Type | Description |
|---|---|---|
| name | String | The name of the property. Use the . operator to query within nested objects. |
Return Value
| Data Type | Description |
|---|---|
| Boolean | True if the property exists. |
Used in
| Macro | Description |
|---|---|
| Json | The JSON macro can parse a JSON string. It exposes properties to query the resulting object and methods to modify it. |