SmartModule that transforms a JSON aggregate containing arrays into individual JSON Records. This SmartModule is array_map type, where each record-in generates a one or more records-out.
Array in JSON representation:
[{"one": 1}, {"two": 2}]Each array element is converted to individual record:
{"one":1}
{"two":2}This project works with smdk command tools:
smdk build
Test small file:
smdk test --file ./test-data/input.json --raw
Build & Test
cargo build
cargo test