Open amnaredo opened 2 years ago
It shouldn't take too much to make it a totally usable minimal JSON library. Including:
.str
.asInstanceOf[upickle.Js.Str].value
.num
.arr
.obj
Js.Value
ID: 139 Original Author: lihaoyi
This happened in 0.3.9
json.read("[1]").arr ==> Seq(Js.Num(1))
Original Author: lihaoyi
It shouldn't take too much to make it a totally usable minimal JSON library. Including:
.str
as a shorthand for.asInstanceOf[upickle.Js.Str].value
, and similarly.num
.arr
and.obj
Js.Value
should convert it to nicely-formatted JSON rather than the current case-class messID: 139 Original Author: lihaoyi