-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Convert Newtonsoft converters to STJ converters #14457
Conversation
@@ -105,9 +77,64 @@ public override object ReadJson(JsonReader reader, Type objectType, object exist | |||
return contentItem; | |||
} | |||
|
|||
public override bool CanConvert(Type objectType) | |||
public override void Write(Utf8JsonWriter writer, ContentItem value, JsonSerializerOptions options) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is might be a temp solution I'm working to add a JTokenConverter
The unit tests seems to fail because an entity has a |
Unless here you are trying to keep the |
I might defer |
@hishamco is this still needed? If not, please close it |
Nope, also there's another PR from @sarahelsaig need to be deleted too |
Thanks for pointing it out, Hisham. I closed it. |
Addresses part of #14456