BridgesUNCC / bridges-java

JAVA Client library for Bridges
http://bridgesuncc.github.io
GNU General Public License v2.0
4 stars 12 forks source link

JSON errors in labels #99

Closed squeetus closed 5 years ago

squeetus commented 7 years ago

Long-term, we need some kind of pattern matching on the nodes' label contents to remove troublesome characters (generally escape characters).

Short-term, we need to either remove the tab symbol \t or replace it with \t to escape the escape character.

esaule commented 6 years ago

Shouldn't we just use org.json.simple.JSONObject.escape ?

AlecGoncharow commented 5 years ago

https://github.com/krs-world/bridges/commit/a17062190661812eae7f0f8b55f209129e4aae05

appears to be fixed, closing