rulemorph 0.2.3

YAML-based declarative data transformation engine for CSV/JSON to JSON
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
version: 1
input:
  format: json
  json: {}
mappings:
  - target: "nested_chain_map"
    expr:
      chain:
        - { ref: "input.array" }
        - op: "map"
          args:
            - chain:
                - { ref: "item.value" }
                - { op: "replace", args: [" ", "_", "all"] }
                - { op: "uppercase" }