-
Notifications
You must be signed in to change notification settings - Fork 57
feat: Add XML to JSON converter #132
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
@HamdiSaidaniX Thank you! You can find an example in |
|
@peckz Thank you for the feedback! I've made the following updates: ✅ Extracted Let me know if there's anything else you'd like me to adjust! |
2 similar comments
This comment was marked as duplicate.
This comment was marked as duplicate.
This comment was marked as duplicate.
This comment was marked as duplicate.
|
Thank you! @HamdiSaidaniX I pushed couple of small commits:
|
|
😔 Trying To help To get some help too,
actually the utilities pages can bring much more traffic that that so, i
can help for that but any idea how can i get small link or anything
valuable.
…On Mon, 5 Jan 2026 at 1:12 PM Petar Cirkovic ***@***.***> wrote:
*peckz* left a comment (jamdotdev/jam-dev-utilities#132)
<#132 (comment)>
Thank you! @HamdiSaidaniX <https://github.com/HamdiSaidaniX>
I pushed couple of small commits:
- renamed file to match existing naming convention
- added complex test case for converter
- updated SEO component, I saw some sneaky converter links there 😉
- added contribution component
—
Reply to this email directly, view it on GitHub
<#132 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/BQSIDLHNQZXFXE3AUQ4IKMT4FJILLAVCNFSM6AAAAACP6FDIMKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZTOMJQGE4DEMBZGI>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
|
@HamdiSaidaniX I understand, but doing things like that could break our promises:
If the user is redirected to an external site, everything changes; at some point, your domain can expire, and someone can easily slap a ton of ads there. We appreciate all contributors — we credit them right below the tool with link to their GitHub profile. |
|
Well, this is faire. anyways ll keep adding what i can see helpful for
that.
Thanks again
…On Mon, 5 Jan 2026 at 1:26 PM Petar Cirkovic ***@***.***> wrote:
*peckz* left a comment (jamdotdev/jam-dev-utilities#132)
<#132 (comment)>
@HamdiSaidaniX <https://github.com/HamdiSaidaniX> I understand that, but
doing things like that could break our promises:
- tools are free on open source
- no ads
- all data stays local
If the user is redirected to an external site, everything changes; at some
point, your domain can expire, and someone can easily slap a ton of ads
there.
We appreciate all contributors — we credit them right below the tool with
link to their GitHub profile.
—
Reply to this email directly, view it on GitHub
<#132 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/BQSIDLDQFPO6JBKAMHT2LPT4FJJ6TAVCNFSM6AAAAACP6FDIMKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZTOMJQGIZDEMRXGE>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
This PR adds a new XML to JSON converter utility to the Jam.dev tools collection. The implementation provides client-side XML parsing and conversion with proper error handling, comprehensive test coverage, and SEO-optimized content.
Key Changes:
- Implemented a new XML to JSON conversion utility with DOMParser-based parsing
- Added comprehensive test suite with 632 lines covering basic conversion, attributes, arrays, text content, error handling, and complex nested structures
- Created SEO component with detailed documentation about XML/JSON conversion use cases and features
Reviewed changes
Copilot reviewed 5 out of 5 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| pages/utilities/xml-to-json.tsx | New converter page component following established patterns with proper input handling, real-time conversion, and error messages |
| components/utils/xml-to-json.utils.ts | Core conversion logic using DOMParser with attribute preservation, array detection, and industry-standard @attributes/#text conventions |
| components/utils/xml-to-json.test.ts | Comprehensive test suite covering edge cases including empty elements, attributes, arrays, nested structures, and a complex library XML example |
| components/seo/XmlToJsonSEO.tsx | SEO content component with feature descriptions, FAQs, conversion format explanation, and related tool links |
| components/utils/tools-list.ts | Added XML to JSON tool entry to the tools listing with appropriate description and link |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Added new XML to JSON converter utility with full SEO content and related tool links.