Currently the code does not allow us to peek in to Json array files. For example, if we try to read from a file that looks like this:
We get error Error reading JObject from JsonReader. Current JsonReader item is not an object
A simple fix is to change JObject.Parse(...) to JToken.Parse(...) in the peeking process.


Currently the code does not allow us to peek in to Json array files. For example, if we try to read from a file that looks like this:
We get error
Error reading JObject from JsonReader. Current JsonReader item is not an objectA simple fix is to change
JObject.Parse(...)toJToken.Parse(...)in the peeking process.