microsoft / microsoft/XmlNotepad

Support to also save as json

Open
#458 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Feature request

I love that XmlNotepad can open json files, but it would be even more great if it could also save as json file.

I'm sure there are many differences between xml and json specs that makes it difficult. However, many json files are really simple and short and could be might not be too complicated to achieve. Especially with some predefined rules like root node = filename to accommodate multiple roots etc.

Advantage: many more XmlNotepad users. They would be very happy to have a single tool to manage tons of json files in addition to their existing xml files.
I have never found any similar excellent open-source tool to manage json files like XmlNotepad is doing for XML.

It would be fine it was a requirement to first open a json file, and then massaging XmlNotepad editor, and then saving it with whatever existing json stuff was in the original file.

Label: enhancement

Thank you for your time.

Contributor guide

No contributing guide indexed for this repository

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.

Research direction

The issue names no files, tests, or entry points. Start by locating the existing JSON opening support and how XmlNotepad serializes edited documents. Done means defining and implementing workable XML-to-JSON rules, including the handling of multiple roots, and saving the result as a JSON file.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
desktop
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.