CreateJSONObject Function
Number of input and output field
Number of input field
:
One or More
Number of output field
:
One
This transformation function is used to construct a
JSON
object from one or more input fields.
Example
Input field names: hour, hits, sum_bytes
Field values: 12, 100, 1235
Output:
{ "hour": "12", "hits": "100", "sum_bytes": "1235" }