instance
Lean.JsonNumber.instDecidableLtJsonNumberInstLTJsonNumber
(a : Lean.JsonNumber)
(b : Lean.JsonNumber)
:
Attempts to convert a float to a JsonNumber, if the number isn't finite returns the appropriate string from "NaN", "Infinity", "-Infinity".
Instances For
Instances For
Assuming both inputs o₁, o₂
are json objects, will compute {...o₁, ...o₂}
.
If o₁
is not a json object, o₂
will be returned.
Instances For
- arr: Array Lean.Json → Lean.Json.Structured
- obj: (Lean.RBNode String fun x => Lean.Json) → Lean.Json.Structured
Instances For
instance
Lean.Json.instCoeRBNodeStringJsonStructured :
Coe (Lean.RBNode String fun x => Lean.Json) Lean.Json.Structured