def payload_other

qasim-bend-kit@0.1.0.2 · libs/JSON.bend:913

import qasim-bend-kit@0.1.0.2/libs/JSON.bend as JSON
import Base

913def payload_other(text: String) -> Result<&1, &1, Error, Value>:
914    match text:
915        case "null": Done{Null{}}
916        case "true": Done{Bool{True{}}}
917        case "false": Done{Bool{False{}}}
918        case SCon{'"', +tail}: fast_result(fast_string(tail), SCon{'"', tail})
919        case _: Fail{Error{}}

Uses (11)

Used by (4)