Instances For
@[instance_reducible]
shiftl n s shifts n by s places to the left, i.e., multiplies it by 10^s.
Instances For
shiftr n s shifts n by s places to the right, i.e., divides it by 10^s.
Instances For
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 (elems : Array Json) : Structured
- obj (kvPairs : Std.TreeMap.Raw String Json compare) : Structured
Instances For
@[instance_reducible]