Explorer

html-ui.json-text

description
The string field key of a JSON object, or '' when it is missing
type
Fn(value: @definy.json, key: String) -> String
expression
fn(value$0, key$1) =>
  match @definy.json-get-string(value: $0, key: $1) {
    #some(text$2) =>
      $2,
    #none(_) =>
      ""
  }
visibility
public
html-ui.json-text (project html-ui, branch main, snapshot Daaw3vbJhY15cDW6JsA4JuXvffjj_qFyxoZQMUM8hvQ)
id: RmNfYj7QLeb98H6brYH_a5YrfmFH-KlSQy6hhOlQRV0
content hash: iLsQGmf9u2FM53xQKMed0hYuHDKYMvmvl07xcFx7oOk