-Added DataSetConverter, DataTableConverter
-Added JPath and SelectToken to JToken -Fixed schema id not being written for collections -Fixed TimeSpan serialization on Compact Framework -Fixed unicode line break string encoding
This commit is contained in:
@@ -1095,5 +1095,16 @@ namespace Newtonsoft.Json.Linq
|
||||
{
|
||||
get { return _linePosition ?? 0; }
|
||||
}
|
||||
|
||||
public JToken SelectToken(string path)
|
||||
{
|
||||
return SelectToken(path, false);
|
||||
}
|
||||
|
||||
public JToken SelectToken(string path, bool errorWhenNoMatch)
|
||||
{
|
||||
JPath p = new JPath(path);
|
||||
return p.Evaluate(this, errorWhenNoMatch);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user