lordofduct / Newtonsoft.Json.Bson-Unity3d

Json.NET BSON adds support for reading and writing BSON to Json.NET for Unity3d

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Logo Json.NET BSON for Unity3d

This is a port of Newtonsoft.Json.Bson to work as a package in Unity3d with dependency on the Unity port of Newtonsoft.Json done by Unity themselves found here: https://docs.unity3d.com/Packages/com.unity.nuget.newtonsoft-json@2.0/manual/index.html

To add to your project, open the package manager and click the + button, select 'Add pacakage from git-url', and paste in the git url of this project: https://github.com/lordofduct/Newtonsoft.Json.Bson-Unity3d.git

Note that this project does not work with many unity objects right out the gate do to circular references on the types like Vector3. This same issue exists in the unity Newtonsoft-Json package as well. Personally I usually add a contract resolver which only writes properties that are read/write.

NuGet version (Newtonsoft.Json.Bson) Build Status

About

Json.NET BSON adds support for reading and writing BSON to Json.NET for Unity3d

License:MIT License


Languages

Language:C# 83.9%Language:PowerShell 16.0%Language:Batchfile 0.1%