Treatment fromOptionNumberI64
json/value::fromOptionNumberI64
Generics
◻ I: ToI64
Inputs
⇥ value: Stream<Option<I>>
Outputs
↦ json: Stream<Json> (json::Json)
Turns stream of i64 convertible option values into JSON numbers.
When value is some number, it is turned into JSON, else if value is none, null JSON value is streamed.