Parceler is a code generation library that eliminates boilerplate when implementing Android Parcelables.
Android Parcelables enable efficient serialization of Java objects between contexts, performing roughly ten times faster than traditional serialization. However, implementing Parcelable requires writing substantial boilerplate: mirroring read and write methods that access fields in identical order, and defining a static Creator field. Parceler solves this by generating all required Parcelable code automatically. You annotate a plain Java object with @Parcel, and the tool uses Java's JSR-269 annotation processor to generate the implementation at compile time, with no manual tool invocation needed. Objects are wrapped and unwrapped using the Parcels utility class, which integrates seamlessly with Android Bundles and Intents.
Parceler suits any Android project that passes objects between activities or fragments. It works best with public fields or getter methods; private fields incur a reflection penalty. The tool handles the common case of serializing all instance fields by default, making it immediately useful for straightforward data classes without configuration overhead.
The project maintains active issue tracking and community support channels. Development follows a continuous integration pipeline with automated testing on each change.