Comments (1)
Steps to reproduce
See above
No, these are not steps to reproduce. That's like saying the recipe for chocolate cookies is: Bake!
Arguably, providing a relatively compact code example that reproduces this issue might be difficult, since you are using EF.
Arguably, the issue might perhaps not even be within Newtonsoft.Json but in some other piece of code that is being called by Newtonsoft.Json. Like for example, custom equality comparers (either coded by you or auto-generated by EF or some other code generator) which might be called by Newtonsoft.Json to figure out equality of instances for detecting reference loops.
There are so far no other issues reported that match your brief description as far as i am aware, and i can't imagine how a mere migration to .NET 8 would cause this. I suppose other things got updated as well in your project, not just a mere change of the target framework to .NET 8. But now i am just starting to read tea leaves... Therefore, the only advice i -- as another user of this library -- can give is that you thoroughly troubleshoot and profile your code with the data that triggers the runaway memory allocation.
from newtonsoft.json.
Related Issues (20)
- PopulateObject won't throw Exception on invalid JSON
- Inquiry Regarding Privacy Policy in Newtonsoft.Json HOT 2
- Multiple JsonSerializerSettings are sharing same CamelCasePropertyNamesContractResolver cache HOT 1
- Deserialize decimal same code results not match HOT 3
- Generic Attributes -> Generic types are not valid. HOT 6
- MissingMemberHandling.Error doesn't throw when property is set with jsonignore HOT 1
- Object duplication when deserializing class with initial static value assigned. HOT 1
- Deserializing JSON with JsonProperty("$type") not working HOT 2
- Deserialization of derived type works only when "$type" is first attribute in JSON object HOT 2
- .NET 9.0 and Binary Formatter being removed HOT 1
- Documentation web site is down HOT 1
- JsonConverter for struct not used for nullable fields when passed through JsonSerializerSettings HOT 2
- Custom Converter fails when both decimal and doubles are present HOT 3
- Json data parsing in MAUI .NET 8
- StringEnumConverter.AllowIntegerValues confusing documentation
- ToString method with Formatting.None returns "null" instead of empty string for null values HOT 2
- Nullable DateTime in Dictionary can't use custom converter to convert into empty string HOT 3
- Can't de-serialise decimals having no leading zero (regression between NewtonSoft.Json 9.0.1 and 10.0.1) HOT 2
- Incorrect parsing of JSONPath query HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from newtonsoft.json.