Update BodyConverter.java (#1748)

This commit is contained in:
Reborn4Ever
2022-01-19 15:31:16 +02:00
committed by GitHub
parent 7d67617323
commit ccfa6ec19d

View File

@@ -143,6 +143,9 @@ final class BodyConverter {
if (v == null) {
jsonObject.nullValue(k);
}
else if (v instanceof Boolean) {
jsonObject.booleanValue(k, (Boolean) v);
}
else if (v instanceof String) {
jsonObject.stringType(k, (String) v);
}