Mapper.apex

Mapper.apex is a library to help converting one object to another.

Why Mapper.apex?

The primary purpose of Mapper.apex is to ease the pain of converting between custom DTO objects and SObjects. Furthermore, Mapper.apex gives you more power when converting the objects, as well as a helpful Mapper.DTO object to easily manipulate nested Map objects.

Common Mapping

Mapper.apex provides easy conversion between objects.

Complex Conversion

Mapper.apex can be used to convert objects with various configurations.

Custom DTO

Mapper.apex offers Mapper.DTO to manipulate nested mappings.

Easy to Convert Objects

With Mapper.apex, converting objects will be as easy as a piece of cake.

Common Mapping

Mapper.apex can do simple conversions between custom DTO objects and SObjects.

Simple Conversion

Complex Conversion

Mapper.apex can also be used to convert objects with complex rules.

Complex Conversion

Nested Mapping

Mapper.apex offers Mapper.DTO to operate on nested mappings.

Nested Mapping