microsoft / microsoft/XmlNotepad
Feature Request - Ability to open JSON files that begin with an array
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 1.2k
- Forks
- 240
- PR merge metrics
- No merged PRs in 30d
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.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
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.
Assessment
- Tech stack
- csharp, json
- Domain
- desktop
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 28/100