-
Notifications
You must be signed in to change notification settings - Fork 331
Json.net
chaowlert edited this page Apr 13, 2019
·
3 revisions
Json.net conversion supports
PM> Install-Package Mapster.JsonNet
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
- Configuration
- Config inheritance
- Config instance
- Config location
- Config validation & compilation
- Config for nested mapping
- Custom member matching logic
- Constructor mapping
- Before & after mapping
- Setting values
- Shallow & merge mapping
- Recursive & object references
- Custom conversion logic
- Inheritance