title: How to pass gson serialised object to Intent in android?
body: <p>i am trying to pass the gson serialised object to intent by using the below code                       </p>
  
  <p><code>intent.putExtra("com.example", vo); // vo is the gson serialised object.</code></p>
  
  <p>but it is throwing the run time exception, Please help.</p>
  
  <pre><code>   java.lang.RuntimeException: Parcelable encountered IOException writing serializable    object (name = com.example.d.a)
              at android.os.Parcel.writeSerializable(Parcel.java:1285)
              at android.os.Parcel.writeValue(Parcel.java:1233)
              at android.os.Parcel.writeMapInternal(Parcel.java:591)
              at android.os.Bundle.writeToParcel(Bundle.java:1646)
              at android.os.Parcel.writeBundle(Parcel.java:605)
              at android.content.Intent.writeToParcel(Intent.java:6831)
              at     android.app.ActivityManagerProxy.startActivity(ActivityManagerNative.java:1927)
              at android.app.Instrumentation.execStartActivity(Instrumentation.java:1419)
              at android.app.Activity.startActivityForResult(Activity.java:3390)
              at android.app.Activity.startActivityForResult(Activity.java:3351)
              at android.app.Activity.startActivity(Activity.java:3587)
              at android.app.Activity.startActivity(Activity.java:3555)
  </code></pre>