let jsonAddtolist : Data? = try? JSONSerialization.data(withJSONObject: yourarray , options: .prettyPrinted)
var jsonAddtolistString : String? = nil