title: How to store and get JSON Object from Shared Preferences in android
body: <p>To Store JSON object to String is possible. But Is there any way to store the JSON Object as it is in Shared Preferences and retrieve too?</p>
  
  <pre><code>JSONObject data_obj = new JSONObject();
  
  JSONArray arr_obj = new JSONArray();
  JSONObject main_obj = new JSONObject();
  
  data_obj.put("id", "1");
  data_obj.put("name", "Loin");
  
  arr_obj.put(data_obj);
  main_obj.put("user_review", arr_obj);
  </code></pre>
  
  <p>How will main_obj be store in Shared Preferences?</p>