Use Newtonsoft.Json Package and Revit Api objects to Serialize
and Deserialize
.
Check the JavaScriptService.cs base service.
You could and the Package Reference using the Nuget or adding the reference below on the .csproj
file.
<ItemGroup>
<PackageReference Include="Newtonsoft.Json" Version="9.0.1" IncludeAssets="build; compile" />
</ItemGroup>
This Example starts with the JavaScriptSerializer
Class to Serialize
and Deserialize
.
Check the JavaScriptSerializer tree.
This library is licensed under the MIT Licence.
Do you like this project? Please star this project on GitHub!