Open amnaredo opened 2 years ago
Currently it is possible to use ujson to conveniently mutate json like in this example:
val json = ujson.read(string) json("url") = "hello"
I actually want to mutate my json object to look like this:
{url: null}
Still, I have not found a way to mutate a json value to null. So this does not work:
json("url") = null
Neither does this work:
json("url") = None
Am I doing something wrong or is this a feature request? ID: 265 Original Author: nemoo
ujson.Null Original Author: lihaoyi
ujson.Null
Currently it is possible to use ujson to conveniently mutate json like in this example:
I actually want to mutate my json object to look like this:
Still, I have not found a way to mutate a json value to null. So this does not work:
Neither does this work:
Am I doing something wrong or is this a feature request? ID: 265 Original Author: nemoo