Equations
- Lean.Json.escape s acc = String.foldl Lean.Json.escapeAux✝ acc s
Instances For
Equations
- Lean.Json.renderString s acc = Lean.Json.escape s (acc ++ "\"") ++ "\""
Instances For
- json (j : Json) : Json.CompressWorkItem
- arrayElem (j : Json) : Json.CompressWorkItem
- arrayEnd : Json.CompressWorkItem
- objectField (k : String) (j : Json) : Json.CompressWorkItem
- objectEnd : Json.CompressWorkItem
- comma : Json.CompressWorkItem
Instances For
Equations
- j.compress = Lean.Json.compress.go "" [Lean.Json.CompressWorkItem.json j]
Instances For
Equations
- Lean.Json.instToFormat = { format := Lean.Json.render }
Equations
- Lean.Json.instToString = { toString := fun (j : Lean.Json) => j.pretty }