002 schema directed emit

✓ Passing This code compiles and runs correctly.

Code

input.k

Actual

{"service":"orisha","port":8080,"tls":true,"meta":{"tier":"bench","weight":1.5},"note":null}
{"who":"ada","years":36,"town":"paris","alias":null,"seen":["a","b"],"active":true}
{"who":"cid","years":9,"town":"oslo","alias":"ciddy","seen":[]}

Expected output

{"service":"orisha","port":8080,"tls":true,"meta":{"tier":"bench","weight":1.5},"note":null}
{"who":"ada","years":36,"town":"paris","alias":null,"seen":["a","b"],"active":true}
{"who":"cid","years":9,"town":"oslo","alias":"ciddy","seen":[]}

Flows

flow ~emit click a branch to expand · @labels scroll to their anchor
emit (value: { service: "orisha", port: 8080, tls: true, meta: { tier: "bench", weight: 1.5 }, note: null })
flow ~parse click a branch to expand · @labels scroll to their anchor
parse (input: "{\"name\":\"ada\",\"age\":36,\"addr\":{\"city\":\"paris\"},\"nick\":null,\"tags\":[\"a\",\"b\"]}")
flow ~parse click a branch to expand · @labels scroll to their anchor
parse (input: "{\"name\":\"cid\",\"age\":9,\"addr\":{\"city\":\"oslo\"},\"nick\":\"ciddy\",\"tags\":[]}")

Test Configuration

MUST_RUN