Documentation

Strata.Util.Json

Streaming JSON writer that avoids stack overflow on large values.

partial def writeJsonTo (h : IO.FS.Handle) :

Write a Lean.Json value to a file handle without building an intermediate string.

def writeJsonFile (path : String) (json : Lean.Json) :

Write a Lean.Json value to a file, ensuring the handle is flushed even on exception.

Equations
Instances For