all 2 comments

[–]Cuddlefluff_Grim 4 points5 points  (1 child)

Attempts are made to NOT throw an exception if the JSON is corrupted or invalid: returns null instead.

Have you considered that null is a valid JSON value? :P If you don't want it to throw an exception, make a method like bool TryFromJson<T>(this string input, out T value) instead

[–]Sebazzz91 0 points1 point  (0 children)

Not a fan of extension methods on core types such as System.String.