2016-11-16 25 views
1

我需要做一些JSON模式驗證,並使用NJsonSchema,因爲我無法獲得Json.Net架構的許可證。有沒有辦法獲得ValidationErrors的LineNumber信息?試圖從NJsonSchema ValidationErrors中檢索LineNumber信息?

看起來可用的

// 
    // 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; } 
+0

請在該項目的網站上創建一個問題... –

+0

此功能是現在實施 –

回答