SaladLab / Json.Net.Unity3D

Forked Newtonsoft.Json to support Unity3D
MIT License
918 stars 169 forks source link

Update to Json.Net 10 planned? #19

Open IceflowRE opened 7 years ago

veblush commented 7 years ago

Yes, there is a plan. I am waiting for Json.net to be stable because version 10 has many changes.

timskap commented 6 years ago

@veblush When update will be finished?

jvalenciag commented 6 years ago

When will be the update available?

SugoiDev commented 6 years ago

There's a supported JSON.NET package on the asset store. It used to be paid, but the developer made it free after a deal.

The developer from SaladLab (of this integration) has been missing for a long time now, so I don't recommend using it for new projects and, if possible, use the json solution from the asset store.

PARENTELEMENT, LLC JSON .NET For Unity

If you're using the latest Unity, take a look at the forum for possible issues and workarounds: https://forum.unity.com/threads/json-net-for-unity.200336

monsdar commented 5 years ago

The version on the Asset Store is based on Newtonsoft.Json 8.0.3 though, so it's even older than this version is. If you're interested here's the source repo of the package: ianmacgillivray/Json-NET-for-Unity

pfleeter commented 5 years ago

I was trying to upgrade our Unity project to use some libraries that are built for netstandard2.0 and which have Newtonsoft.Json 12.0.1 as a dependency. Things worked in the editor of course, but when I tried on device with il2cpp builds, I got strange errors like:

Error getting value from '<our dictionary class member>' on '<our annotated class>'. at Newtonsoft.Json.Serialization.ExpressionValueProvider.GetValue

I suspected it was maybe something to do with link.xml due to painful past experience, and I found this thread: https://github.com/aspnet/EntityFrameworkCore/issues/13099#issuecomment-420381680

And, at least for our fairly simple use cases, it works!