What is JsonDtoMapper?

JsonDtoMapper is a tool to convert POCO objects to data transfer objects of JSON format dynamically without the need for intermediate DTO objects.

NuGet Installation

Dependency

  • Newtonsoft.Json
  • Microsoft.CSharp

Features

  • No need to define more DTO classes.
  • Fluent API code.
  • Small set of API's.
  • Property name manipluation.
  • User defined properties on the fly.
  • Property value provider's handlers.

Most of the common object mappers existed on the community depends on creating DTO target classes that the mappers fills and output at the end of the process while this may be suitable on many circumstances but on the Web where most of our desire is serializing some entities to the browser directly we may be not interested in writing static classes with no actual use but mapping. So coupling mapping schema with the behavior may be more straight,concentrated and flexible process.

You can learn more from the Articles

If you have issues please report it here

Back to top Generated by DocFX