Documentation
Lean
.
Data
.
Json
.
Printer
Search
return to top
source
Imports
Lean.Data.Format
Init.Data.String.Search
Lean.Data.Json.Basic
Imported by
Lean
.
Json
.
escape
Lean
.
Json
.
renderString
Lean
.
Json
.
render
Lean
.
Json
.
pretty
Lean
.
Json
.
compress
Lean
.
Json
.
instToFormat
Lean
.
Json
.
instToString
source
@[inline]
def
Lean
.
Json
.
escape
(
s
:
String
)
(
acc
:
String
:=
""
)
:
String
Equations
Instances For
source
@[inline]
def
Lean
.
Json
.
renderString
(
s
:
String
)
(
acc
:
String
:=
""
)
:
String
Equations
Instances For
source
partial def
Lean
.
Json
.
render
:
Json
→
Format
source
def
Lean
.
Json
.
pretty
(
j
:
Json
)
(
lineWidth
:
Nat
:=
80
)
:
String
Equations
Instances For
source
def
Lean
.
Json
.
compress
(
j
:
Json
)
:
String
Equations
Instances For
source
instance
Lean
.
Json
.
instToFormat
:
ToFormat
Json
Equations
source
instance
Lean
.
Json
.
instToString
:
ToString
Json
Equations