AddProperty method: JsonBuilder class
Syntax
AddProperty(Name, Type)
Description
Use this method to add a property.
Parameters
| Parameter | Description |
|---|---|
|
Name |
Specifies the name of the property as a string. |
|
Type |
Specifies the type of the property as any. |
Returns
None.
Example
Local JsonBuilder &jBldr = CreateJsonBuilder();
&jBldr.AddProperty("store", "false");
&jbldr.AddProperty("description", "orcl_attachment_pipe");
&jbldr.AddProperty("ignore_above", "254");
&jbldr.AddProperty("tokenizer", "whitespace");