-
Notifications
You must be signed in to change notification settings - Fork 51
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
Migration to System.Text.Json #96
Comments
I'm open to it! I don't believe it's a trivial migration however, especially in the |
FWIW Unity also has a (slightly different) hacked up version of Newtonsoft (because of course) https://docs.unity3d.com/Packages/[email protected]/manual/index.html I was able to get postgrest etc working using the Unity Newtonsoft instead and it seems they are binary compat. Out of curiosity do you happen to recall what was Newtonsoft specific? Guessing it's more than a call to serialize/deserialize? |
@wiverson sure! For Postgrest: its the PostgrestContractResolver.cs and the Converters. For Realtime: its the CustomContractResolver and the Converters. Outside of those, everything should transfer pretty easily. But they are (obviously) all tied to core functionality. |
Would love to see this migration. |
I think it would be really great to migrate from
Newtonsoft.Json
toSystem.Text.Json
. The latter is more performant than the former, in addition to being the library officially maintained by Microsoft.If the creators are interested, I can try to help by working on this change and making a
pull request
.The text was updated successfully, but these errors were encountered: