title: Convert Swift 3 Array to JSON
body: <p>I have array of dictionary [[String:Any]] i want to convert it to JSON string. but i don't know how to start with it. I tried JSONSerialization.data(withJSONObject: array, options: .prettyPrinted) and i pass array to method but it show error. Any solution please comment below. Thank.</p>