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