003 schema array of objects

✓ Passing This code compiles and runs correctly.

Code

input.k

Actual

ada:1 first bob:2 total=2 len=2
empty len=0 total=0
BAD3 25: expected a string

Expected output

ada:1 first bob:2 total=2 len=2
empty len=0 total=0
BAD3 25: expected a string

Flows

flow ~parse click a branch to expand · @labels scroll to their anchor
parse (input: "{\"items\":[{\"id\":1,\"name\":\"ada\",\"meta\":{\"note\":\"first\"}},{\"id\":2,\"name\":\"bob\",\"meta\":{\"note\":\"second\"}}],\"total\":2}")
flow ~parse click a branch to expand · @labels scroll to their anchor
parse (input: "{\"items\":[],\"total\":0,\"junk\":{\"a\":[1,2]}}")
flow ~parse click a branch to expand · @labels scroll to their anchor
parse (input: "{\"items\":[{\"id\":1,\"name\":}],\"total\":1}")

Test Configuration

MUST_RUN