Description
The CLI now outputs a string instead of valid JSON, like the previous versions did.
Examples:
version 4.5.1
echo '<xml><item>test</item></xml>' | fxparser
{
"xml": {
"item": "test"
}
}
version 4.5.2
echo '<xml><item>test</item></xml>' | fxparser
"{\n \"xml\": {\n \"item\": \"test\"\n }\n}"
Input
<xml><item>test</item></xml>
Code
echo '<xml><item>test</item></xml>' | fxparser
Output
"{\n \"xml\": {\n \"item\": \"test\"\n }\n}"
expected data
{ "xml": { "item": "test" } }
Would you like to work on this issue?
I cannot commit much time but I have opened a PR that fixes it locally for me. I'm not familiar enough with the project to add unit tests that will ensure this doesn't become a future regression.
Bookmark this repository for further updates. Visit SoloThought to know about recent features.