Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Switch to Unity's native JSON parser #6

Open
Elringus opened this issue Feb 2, 2018 · 2 comments
Open

Switch to Unity's native JSON parser #6

Elringus opened this issue Feb 2, 2018 · 2 comments

Comments

@Elringus
Copy link
Owner

@Elringus Elringus commented Feb 2, 2018

Currently, a third-party library (Json.Net.Unity3D) is used to de-/serialize JSON data, since Unity’s built-in one doesn’t support nullable types (and they’re heavily used in the data API to represent properties not included to a request/response). While the library itself works fine, it doesn't support .NET 2.0 subset profile and the performance is not that good compared to the Unity's JsonUtility. Maybe someone has an idea how to make nullable types work with the Unity’s JSON tool without complicating code base too much?

@Elringus
Copy link
Owner Author

@Elringus Elringus commented Jun 3, 2018

I've created a feedback request to add support for nullable types to JsonUtility: https://feedback.unity3d.com/suggestions/add-support-for-nullable-types-to-jsonutility

Will really appreciate any votes you can spend on this idea :)

MakeJsonUtilityGreatAgain

@ddutchie
Copy link

@ddutchie ddutchie commented Aug 31, 2018

Voted

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.