Describe the bug
Not sure is this is not legacy, but I am raising the bug in any case.
To Reproduce
Parse the following bitmark to produce JSON output:
[.rating]
[@id:186276]
===
Die in der letzten QualiCarte festgehaltenen Massnahmen sind wirksam. Die gesetzten Ziele wurden erreicht.
[• --]
[• -]
[• +]
[• ++]
===
The following JSON is produced:
{
"bitmark": "[.rating]\n[@id:186276]\n===\nDie in der letzten QualiCarte festgehaltenen Massnahmen sind wirksam. Die gesetzten Ziele wurden erreicht.\n[• --]\n[• -]\n[• +]\n[• ++]\n===",
"bit": {
"type": "rating",
"format": "bitmark--",
"body": "===\nDie in der letzten QualiCarte festgehaltenen Massnahmen sind wirksam. Die gesetzten Ziele wurden erreicht.\n\n\n\n\n===",
"item": "",
"hint": "",
"isExample": false,
"example": "",
"id": [
"186276"
],
"bullet": [
"--",
"-",
"+",
"++"
]
}
}
Expected behavior
Unsure what the correct behaviour would be, but this cannot be correct, as it is not possible to reverse the JSON back to bitmark. Some information has been lost.
Describe the bug Not sure is this is not legacy, but I am raising the bug in any case.
To Reproduce Parse the following bitmark to produce JSON output:
The following JSON is produced:
Expected behavior Unsure what the correct behaviour would be, but this cannot be correct, as it is not possible to reverse the JSON back to bitmark. Some information has been lost.
versions 1.0.38