Open amnaredo opened 3 years ago
how to reproduce: create an empty sequence of strings
val arr = Seq.empty[String] val json = Obj("arr" -> Arr(arr.map(v => Str(v)))) println(ujson.write(json))
val arr = Seq.empty[String]
val json = Obj("arr" -> Arr(arr.map(v => Str(v))))
println(ujson.write(json))
Actual Output: {"arr":[[]]}
{"arr":[[]]}
Expected Output: {"arr":[]} ID: 311 Original Author: toStars21
{"arr":[]}
questions go in the gitter channel Original Author: lihaoyi
but as for me it looks like deffect, not a question
questions go in the gitter channel
Original Author: toStars21
how to reproduce: create an empty sequence of strings
val arr = Seq.empty[String]
val json = Obj("arr" -> Arr(arr.map(v => Str(v))))
println(ujson.write(json))
Actual Output:
{"arr":[[]]}
Expected Output:
{"arr":[]}
ID: 311 Original Author: toStars21