Both helps to construct dynamic objects and I'm trying to understand if there Are any differences between them? is there any situation that we use JObject vs ExpandoObject?
JObject is specific to use with JSON results returned by JSON.Net
ExpandoObject (And DynamicObject in the more specific case) is a general purpose dynamic object for use all over in .Net code. It isn't designed for any specific use case, and isn't optimized for one niche like JObject is.
Using JSON? use a JObject. General Purpose Dynamics? Use A DynamicObject(Or ExpandoObject as is appropriate)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With