Is there a list of exceptions that JToken.ToObject<T>() can throw? Their documentation doesn't mention anything.
var deserialized = myJtoken.ToObject<myType>(); // what can this throw?
As far as I have examined, according to source code, there are two obvious exceptions:
ArgumentException
ArgumentNotNull
But this may not be a complete list of exceptions, there might be other exceptions within internal methods.
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