Striim 3.9.7 documentation

Transformation functions

function

notes

AVROTOJSON(Object, boolean IgnoreNulls)

Converts an Avro node (Object) to a JSON node. The Object must be an Avro GenericRecord present in an AvroEvent output by a a source using an AvroParser.

If IgnoreNulls is true, any Avro fields with null values will be omitted from the JSON, so, for example, {a: 100, b: null, c: 'test'} will return{a:100, c:'test'}.

TO_JSON_NODE(Object)

Converts an object to a JSON node.