Helper function to add a string field to a JSON descriptor. This produces a new descriptor which may then be chained to add further string fields.
Target is Pixel Streamer Input Component
|
Target
Pixel Streamer Input Component Object Reference
|
|
|
Descriptor
String
|
The initial JSON descriptor which may be blank initially. |
|
Field Name
String
|
The name of the field to add to the JSON. |
|
String Value
String
|
The string value associated with the field name. |
|
New Descriptor
String
|
The JSON descriptor with the string field added. |
|
Success
Boolean
|
True if the string field could be added successfully. |