I have list of elements containing product name
val productList = List[String] with values as product1,product2,product3
now I need to create a Json from the list as
{
"ProductName":["product1","product2","product3"]
}
how can I achieve this using scala json4s framework.