Skip to content
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.

Serializers

davetimmins edited this page Nov 20, 2014 · 2 revisions

Anytime you want to call a server REST operation the request/response will need to be serialized. This is handled via an ISerializer implementation. You are welcome to write your own implementations (and if you do please send a PR with it) but there are a couple of pre packaged options available on NuGet.

JSON.NET

PM> Install-Package ArcGIS.PCL.JsonDotNetSerializer

or the source code package

PM> Install-Package ArcGIS.PCL.JsonDotNetSerializer.Source

Once added you can call JsonDotNetSerializer.Init();

ServiceStack.Text

The binary package is limited to version 3 or ServiceStack.Text

PM> Install-Package ArcGIS.PCL.ServiceStackV3Serializer

or the source code package

PM> Install-Package ArcGIS.PCL.ServiceStackSerializer.Source

Once added you can call ServiceStackSerializer.Init();