-
Notifications
You must be signed in to change notification settings - Fork 11
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
Move from Newtonsoft.Json to System.Text.Json #67
Comments
Note: because of the hard dependency on A workaround exists:
related: |
For what it's worth.I was testing the Blogging Web Service example from the repo JsonApiFramework.Samples. I was getting weird responses like (below a small piece of a response) "jsonApiVersion": {
"version": "1.0",
"meta": null
},
"attributes": [
{
"name": "firstName"
},
{
"name": "lastName"
},
{
"name": "twitter"
}
] And when I added "jsonapi": {
"version": "1.0"
},
"attributes": {
"firstName": "Sina",
"lastName": "Pesantes",
"twitter": "@spesantes"
} Thanks skolima for your comment above. How to fix this?Until the Newtonsoft.json dependency is in the code I think would be useful throw an exception if the serializer is not configured properly. |
We also just hit this in .Net Core 3 😅 |
I am getting close(ish) to an implementation in #99. It's a heavier lift than it seems, as At this point, I'm just working on getting tests to pass. I welcome anyone who wants to give it a look, esp. @scott-mcdonald. 🤞 |
Hi Scott
It would be perfect to move to the new (de)serialization library. Do you have any plans for that?
The text was updated successfully, but these errors were encountered: