Treatment fromOptionNumberU64

json/value::fromOptionNumberU64


Generics

◻ U: ToU64

Inputs

⇥ value: Stream<Option<U>>

Outputs

↦ json: Stream<Json> (json::Json)


Turns stream of u64 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.