Array of Strings as request body in restassured – “key1”:[“value1”, “value2”]

I need to send POST request with following array of string in a body:

"enabledMobileAppPlatforms":["iOS","Android"]

I’ve try:

ArrayList<String> list = new ArrayList<String>();
list.add("iOS");
list.add("Android");

String body = new Gson().toJson(list);

JsonObject jsonBody = new JsonObject();
jsonBody.add("enabledMobileAppPlatforms", body);

But in request restassured add backslash to the “[“iOS”,”Android”]”