Skip to content

Latest commit

 

History

History
17 lines (10 loc) · 423 Bytes

README.md

File metadata and controls

17 lines (10 loc) · 423 Bytes

Mapster.JsonNet

Json.net conversion supports

Install

PM> Install-Package Mapster.JsonNet

Usage

Call EnableJsonMapping from your TypeAdapterConfig to enable Json.Net mapping.

TypeAdapterConfig.GlobalSettings.EnableJsonMapping();

This will allow

  • Mapping between Json.Net types (JToken, JArray, JObject) from/to POCO types
  • Serialize and deserialize Json.Net types from/to string