News for hackers. Stuff that matters.
Re:Jtc – CLI tool to extract, manipulate and transform sourc... by peterwwillis on Tuesday October 08, 2019 @05:25PM (#21197439)
> convert XML to JSON and back

This is basically impossible to do in a way that is compatible with other tools. Things like duplicate attributes of an object can exist in XML, but not in JSON. You can still work-around these limitations if you just have a pipeline using the same toolset, but part of the point of these tools is to then convert them back to a format that some other tool can use, which is where this pattern breaks down.

Here's a list of pitfalls: https://stackoverflow.com/questions/33072812/potential-probl...

There are no comments on this comment yet.