https://github.com/albanian-xrm/Xrm-Entity-Serializer
This library can serialize an Microsoft.Xrm.Sdk.Entity to Json and back using Newtonsoft.Json library.
https://github.com/albanian-xrm/Xrm-Entity-Serializer
c-sharp dataverse dynamics-crm json made-in-albania newtonsoft-json xrm-entity-serializer
Last synced: 9 months ago
JSON representation
This library can serialize an Microsoft.Xrm.Sdk.Entity to Json and back using Newtonsoft.Json library.
- Host: GitHub
- URL: https://github.com/albanian-xrm/Xrm-Entity-Serializer
- Owner: albanian-xrm
- License: mit
- Created: 2018-11-23T19:05:08.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2022-12-13T05:06:02.000Z (about 3 years ago)
- Last Synced: 2025-04-09T15:52:17.906Z (10 months ago)
- Topics: c-sharp, dataverse, dynamics-crm, json, made-in-albania, newtonsoft-json, xrm-entity-serializer
- Language: C#
- Homepage:
- Size: 137 KB
- Stars: 12
- Watchers: 3
- Forks: 5
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Xrm-Entity-Serializer
|Build Status|Coverage Status|
|------------|------------|
|[](https://dev.azure.com/Albanian-Xrm/Xrm-Entity-Serializer/_build/latest?definitionId=2&branchName=master)|[](https://coveralls.io/github/albanian-xrm/Xrm-Entity-Serializer?branch=master)|
|Package|NuGet|
|------------|------------|
|XrmEntitySerializer.Core|[](https://www.nuget.org/packages/XrmEntitySerializer.Core)|
|XrmEntitySerializer.9|[](https://www.nuget.org/packages/XrmEntitySerializer.9)|
|XrmEntitySerializer.8|[](https://www.nuget.org/packages/XrmEntitySerializer.8)|
|XrmEntitySerializer.7|[](https://www.nuget.org/packages/XrmEntitySerializer.7)|
|XrmEntitySerializer.6|[](https://www.nuget.org/packages/XrmEntitySerializer.6)|
|XrmEntitySerializer.5|[](https://www.nuget.org/packages/XrmEntitySerializer.5)|
This library can serialize an Microsoft.Xrm.Sdk.Entity to Json and back using [Newtonsoft.Json](https://github.com/JamesNK/Newtonsoft.Json) library.
## Usage
To use the library:
1. Get the package from NuGet (There are packages for each CRM SDK major version):
```
Install-Package XrmEntitySerializer.9
```
2. Use EntitySerializer or the JsonConverters with your JsonSerializer instance to serialize/deserialize your data.
A sample code can be found [here](https://gist.github.com/BetimBeja/832924babb4dc8355b730c43cb9ec61a).