I am trying to automatize the creation of a json
object from an ArrayBuffer[Array[String]]()
, where I have the field and its value saved, to throw it into a database (mongodb
).
I can't find a way to do that.
I am using scala
and json4s
.
Would anyone know a method to answer this?