我需要进行一些json模式验证,并且正在使用NJsonSchema,因为我无法获得Json.Net模式的许可。有什么方法可以获取LineNumber的ValidationErrors信息吗?
看起来唯一可用的属性是
//
// Summary:
// Gets the error kind.
public ValidationErrorKind Kind { get; }
//
// Summary:
// Gets the property path.
public string Path { get; }
//
// Summary:
// Gets the property name.
public string Property { get; }发布于 2017-02-23 20:43:11
请更新http://NJsonSchema.org,此功能现已实现.
https://stackoverflow.com/questions/40636517
复制相似问题