question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Convert both ways.

See original GitHub issue

This is not a criticism of your work, its great, but just something I don’t understand. I’m so confused as to why when someone develops a JSON and XML converter that they don’t create the other conversion. So all the community has a JSON to XML parser and a XML to JOSN parser that don’t work together. Do you know of any interchangeable parsers? Your library on npm is just xml and it should really be the one that does both.

Issue Analytics

  • State:open
  • Created 11 years ago
  • Reactions:8
  • Comments:12 (2 by maintainers)

github_iconTop GitHub Comments

3reactions
buschtoenscommented, Jan 7, 2015

Do The Things You’re Named After™

Do One Thing Well™ would apply if this was named xml-encoder or something similiar. Since this package squats only has the name xml one would assume it does both.

Just how JSON has JSON.stringify() and JSON.parse().

0reactions
KaidenPcommented, Mar 8, 2017

I find the name misreading too. You should at least have a notice saying that it only encodes data in the readme

Read more comments on GitHub >

github_iconTop Results From Across the Web

Converting Units Both Ways | MrExcel Message Board
I am interested in having a program that claculates results using metric values but the company I work for uses both metric and...
Read more >
Two-way converter in spring - java - Stack Overflow
It provides a converter SPI( Converter<S, T> ) to be used to implement differenet conversion logic. The subclass of Converter type allow to ......
Read more >
Unit Conversions with multiple conversion factors
There are two ways to go about doing this calculation. Multiply Numerators and Denominators and then divide. The first method is to multiply...
Read more >
Converting Units using Multiple Conversion Factors - YouTube
To see all my Chemistry videos, check outhttp://socratic.org/chemistryHow do you use more than one conversion factor? Here, we'll learn how ...
Read more >
Converting Units With Conversion Factors - YouTube
This metric system review video tutorial provides an overview / review of how to convert from one unit to another using a technique...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found