コード例 #1
0
 public static UnexpectedJsonException Type(string name, IJsonNode node, Type expectedType)
 {
     return(new UnexpectedJsonException($"Unable to parse field {name}, expected {expectedType.Name}, but found {node.GetType().Name}"));
 }