Feature Request - Ability to open JSON files that begin with an array
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 28/100
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.
- 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
- 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.
More from microsoft/XmlNotepad
-
Difficulty 3/5 1-2 days Newbie friendliness 45/100
microsoft/XmlNotepad#532 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 42/100
microsoft/XmlNotepad#517 · 6 comments ·
-
Difficulty 4/5 3-5 days Newbie friendliness 48/100
microsoft/XmlNotepad#500 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 45/100
microsoft/XmlNotepad#499 · 1 comment ·
-
Difficulty 3/5 1-2 days Newbie friendliness 32/100
microsoft/XmlNotepad#495 · 1 comment ·
All issues in microsoft/XmlNotepad
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
microsoft/fluentui-blazor#5364 ·
Maintainers usually reply within 1 day
-
.NET triage
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
microsoft/agent-framework#8811 ·
Maintainers usually reply within 1 day
-
.NET Docs
Difficulty 1/5 Under an hour Newbie friendliness 82/100
getsentry/sentry-dotnet#5637 · 1 comment ·
Maintainers usually reply within 2 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
QuantConnect/Lean#9842 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
NethermindEth/nethermind#14012 ·
Maintainers usually reply within 1 day