def
definition
def or abbrev
escape
show as:
view Lean formalization →
formal statement (Lean)
52private def escape (s : String) : String :=
proof body
Definition body.
53 -- Minimal escaping for JSON content used here
54 s.replace "\"" "\\\""
55