~/bend-docscommunity

print.bend checks

raw source on the hub · import 0xa3c2445eb44c5d8406e6229be518fccb/print.bend as Print

ezjson/print: a value to compact text.

2 imports
import Base
import ./value.bend as V

Definitions

def escape.char source · line 5 · raw

@+c:Char -> String

def escape source · line 15 · raw

@cs:List<&2, Char> -> String

the chars of a string with ", \\ and control chars escaped

def quote source · line 23 · raw

@s:String -> String

a string in quotes, escaped

@j:0xa3c2445eb44c5d8406e6229be518fccb/value.Json -> String

a value as compact JSON

def maybe source · line 55 · raw

@m:Maybe<&2, 0xa3c2445eb44c5d8406e6229be518fccb/value.Json> -> String

a parse result: the value, or "<bad>"