Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Feature Request - Ability to open JSON files that begin with an array

Open
#389 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
28/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
csharp, json
Domain
desktop

Research direction

Start by locating the JSON conversion path that produces the XmlNodeConverter error in XmlNotepad, then reproduce it with the attached 70.zip file. Done means JSON files whose root is an array open successfully and the reported Path wording is resolved or clarified.

Written by the indexing model from the issue text.

Description

When trying to open a JSON file that begins with an array (character "["), XmlNotepad (2.9.0.10) displays the following error:

XmlNodeConverter can only convert JSON that begins with an object. Path '', line 1, postition 1.

Would it be possible for the XmlNodeConverter to convert JSON files that begin with an array please? Example JSON file attached.

Also, should the Path single quotes in the error message contain anything?

Thanks.

70.zip

Dominant language
C#
Stars
1.2k
Forks
240
PR merge metrics
No merged PRs in 30d

Getting set up

We have not checked this project's setup files yet. Start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from microsoft/XmlNotepad

All issues in microsoft/XmlNotepad

Similar issues

More C# issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.