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.
2 parents ecaecf8 + 17c794a commit 4717ae8Copy full SHA for 4717ae8
library/src/main/java/com/loopj/android/http/JsonStreamerEntity.java
@@ -200,10 +200,8 @@ public void writeTo(final OutputStream out) throws IOException {
200
os.write((((Number) value).floatValue() + "").getBytes());
201
} else if (value instanceof Integer) {
202
os.write((((Number) value).intValue() + "").getBytes());
203
- } else if (value instanceof String) {
204
- os.write(escape(value));
205
} else {
206
- os.write(value.toString().getBytes());
+ os.write(escape(value.toString()));
207
}
208
209
os.write(',');
0 commit comments