-Examples!
This commit is contained in:
+2
-1
@@ -36,8 +36,9 @@ namespace Newtonsoft.Json.Tests.Documentation.Examples.Serializer
|
||||
{
|
||||
JsonConvert.DeserializeObject<Website>(json);
|
||||
}
|
||||
catch (TargetInvocationException)
|
||||
catch (TargetInvocationException ex)
|
||||
{
|
||||
Console.WriteLine(ex);
|
||||
// Value cannot be null.
|
||||
// Parameter name: website
|
||||
}
|
||||
|
||||
+1
-1
@@ -49,4 +49,4 @@ namespace Newtonsoft.Json.Tests.Documentation.Examples.Serializer
|
||||
#endregion
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user