1 if(getIntent().hasExtra("json")) {
2 JsonObject mJsonObject = new JsonObject(getIntent().getStringExtra("json"));
3 }
1Intent intent = new Intent(getActivity(), MainActivity.class);
2 intent.putExtra("json", jsonObject.toString());
3 startActivity(intent);
4