The Simple way is, to convert it to JSON String as below example:
Gson gson = new Gson();
String json = gson.toJson(myObj);
Then store the string in the shared preferences.
Once you need it just get string from shared preferences and convert back to JSONArray or JSONObject(as per your requirement.)