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 e66e8e6 commit dd43e27Copy full SHA for dd43e27
library/src/main/java/com/loopj/android/http/JsonStreamerEntity.java
@@ -200,6 +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());
207
}
0 commit comments