code: public static void startActivity(@NonNull Context context, @Nullable JSONObject jsonObject) {
          Intent intent = new Intent(context, JSONViewerActivity.class);
          Bundle bundle = new Bundle();
          if (jsonObject != null) {
              bundle.putString(JSON_OBJECT_STATE, jsonObject.toString());
          }
          intent.putExtras(bundle);
          context.startActivity(intent);
      }
docs: Starts the activity with a json object.
  
  @param context    The context to start the activity.
  @param jsonObject The json object.