We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 990f189 commit 42a7281Copy full SHA for 42a7281
src/com/rabbitmq/tools/json/JSONReader.java
@@ -87,7 +87,7 @@ private Object read() {
87
Object ret = null;
88
skipWhiteSpace();
89
90
- if (c == '"') {
+ if (c == '"' || c == '\'') {
91
next();
92
ret = string();
93
} else if (c == '[') {
@@ -181,7 +181,7 @@ private Object number() {
181
182
private Object string() {
183
buf.setLength(0);
184
- while (c != '"') {
+ while (c != '"' && c != '\'') {
185
if (c == '\\') {
186
187
if (c == 'u') {
0 commit comments