Open CPMOliveira opened 1 week ago
Hi CPMOliveira, Thanks for reaching out!
You are right that we are yet to create support for System.Text.Json
Its on the backlog and now that we actually got a request for it, I will move it up the list.
If you got the skills and time you are also welcome to try if you can implement it yourself?
It is actually Fractions that does not have support for System.Text.Json
which it a system we use for conversions between units.
Description: I encountered an issue when serializing and deserializing objects using the
System.Text.Json
. The value is not restored to its original state upon deserialization, unlike when usingNewtonsoft.Json
, which works as expected. This is critical when dealing with specific value types.Example:
Expected Behavior:
System.Text.Json
serialization should restore the original object value, just likeNewtonsoft.Json
.Environment: EngineeringUnits Version: 2.2.98 .NET Version: 9.0 Preview 7