Treatment fromOptionString

json/value::fromOptionString


Generics

◻ S: ToString

Inputs

⇥ value: Stream<Option<S>>

Outputs

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


Convert each optional string-convertible value in the stream into a JSON string, or null for none elements.

graph LR
     T("fromOptionString()")
     A["〈🟦〉 … 〈none〉"] -->|value| T
     T -->|json| B["🟦 … null"]

     style A fill:#ffff,stroke:#ffff
     style B fill:#ffff,stroke:#ffff