Treatment index
json/value::index
Parameters
↳ var index: u64
Inputs
⇥ json: Stream<Json> (json::Json)
Outputs
↦ value: Stream<Option<Json>> (json::Json)
Emit the element at index for each JSON value in the stream, from 0, or none if it is not
an array or is shorter.
graph LR
T("index(index=1)")
A["[🟨, 🟦] … 🟨"] -->|json| T
T -->|value| B["〈🟦〉 … 〈none〉"]
style A fill:#ffffff,stroke:#ffffff
style B fill:#ffffff,stroke:#ffffff