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 ecaecf8 commit 17c794aCopy full SHA for 17c794a
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