Treatment fromOptionString

json/value::fromOptionString


Generics

◻ S: ToString

Inputs

⇥ value: Stream<Option<S>>

Outputs

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


Turns stream of string convertible option values into JSON string or null values.

When value is some string, it is turned into JSON string, else if value is none, null JSON value is streamed.