Describe the bug
Given the input, which is apparently is wrong, I would have expected an error message.
To Reproduce
$ echo '{ "atribute1": { "attribute2": "name1", "attribute3": { "attribute2": "name2" }, "attribute3": { "attribute2": "name3" }, "attribute3": { "attribute2": "name4" } } }' | jshon '.'
{
"atribute1": {
"attribute2": "name1",
"attribute3": {
"attribute2": "name4"
}
}
}
Expected behavior
$ cat expected_output.json
{
"atribute1": {
"attribute2": "name1",
"attribute3": {
"attribute2": "name2"
},
"attribute3": {
"attribute2": "name3"
},
"attribute3": {
"attribute2": "name4"
}
}
}
$
Environment (please complete the following information):
- OS and Version: Linux Ubuntu 18.04.2
- jshon version:
$ jshon --version
20130901
Additional context
I suspect this to be a language problem, as the competition (jq) does the same. An error message would be nice, though.
Describe the bug
Given the input, which is apparently is wrong, I would have expected an error message.
To Reproduce
Expected behavior
Environment (please complete the following information):
Additional context
I suspect this to be a language problem, as the competition (jq) does the same. An error message would be nice, though.