Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
write-as-json-map <column>:column

The <column>column will contain a JSON map of all the fields in the record.

...

The WRITE-AS-JSON-MAP directive converts the entire record into a JSON map. If the <column>column already exists, it will overwrite it.

...

Code Block
write-as-json-map :body

would result results in this record:

Code Block
{
  "body": { "int":1, "string": "this, is a string." },
  "int": 1,
  "string": "this, is a string."
}

...