gchq / gchq/CyberChef

Feature request: XML to JSON

Open
#1,607 0 comments 0 reactions 0 assignees View on GitHub
feature
Dominant language
JavaScript
Stars
35.8k
Forks
4.1k
Avg merge
2d 26m
Merged PRs (30d)
33

Description

**Is your feature request related to a problem? Please describe.**
There are xml documents that I work with and I find it hard to read xml when compared to json. It would be useful to have a function to covert between xml and json.

**Describe the solution you'd like**
When I bring in an xml content, I would like to change it to json as output.

**Describe alternatives you've considered**
Use 3rd party websites 🤷‍♂️

**Additional context**
Example from https://www.w3schools.com/xml/note.xml
```xml

Tove
Jani
Reminder
Don't forget me this weekend!

```
Using https://codebeautify.org/xmltojson
```json
{
"note": {
"to": "Tove",
"from": "Jani",
"heading": "Reminder",
"body": "Don't forget me this weekend!"
}
}
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.