Skip to content

Adding support for peeking into Json array files #70

@jknaudt21

Description

@jknaudt21

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:

[
  {"hello" : "world"}
]

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.

Back this issue
Back this issue

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions