diff --git a/Src/Newtonsoft.Json/Linq/JTokenReader.cs b/Src/Newtonsoft.Json/Linq/JTokenReader.cs index e0db7579..7a97705c 100644 --- a/Src/Newtonsoft.Json/Linq/JTokenReader.cs +++ b/Src/Newtonsoft.Json/Linq/JTokenReader.cs @@ -54,8 +54,12 @@ namespace Newtonsoft.Json.Linq _root = token; } - // this is used by json.net schema - internal JTokenReader(JToken token, string initialPath) + /// + /// Initializes a new instance of the class. + /// + /// The token to read from. + /// The initial path of the token. It is prepended to the returned . + public JTokenReader(JToken token, string initialPath) : this(token) { _initialPath = initialPath;