When I render JArray object:
val json = compact(render(data))
I get JSON like that:
[
{object},
{object}
]
But I need to get next text data:
{object},
{object}
In other words, I need to get string without "open and end" square parentheses.
Is there any way to do that without go thought all elements and render each of them separately?
At the moment I have found such a solution: