To Json filter plugin for Embulk
Convert a record to jsonl.
Overview
- Plugin type: filter
Configuration
- column: output json column (optional)
- name (string, default:
"json_payload") - type string or json (string, default:
"string")
- name (string, default:
- skip_if_null: input column name list (array of string, default:
[])
Example
filters:
- type: to_json
column:
name: test
type: string
skip_if_null: [id]
Run Example
$ ./gradlew classpath
$ embulk run -I lib example/config.yml
Build
$ ./gradlew gem # -t to watch change of files and rebuild continuously