diff --git a/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/service/devices/banglejs/BangleJSDeviceSupport.java b/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/service/devices/banglejs/BangleJSDeviceSupport.java index 4cb8f3a86..7d4e9194d 100644 --- a/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/service/devices/banglejs/BangleJSDeviceSupport.java +++ b/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/service/devices/banglejs/BangleJSDeviceSupport.java @@ -435,7 +435,7 @@ public class BangleJSDeviceSupport extends AbstractBTLEDeviceSupport { } catch (JSONException e) { LOG.warn("jsonToString object error: " + e.getLocalizedMessage()); } - json += key+":"+jsonToStringInternal(o); + json += "\""+key+"\":"+jsonToStringInternal(o); if (iter.hasNext()) json+=","; } return json+"}";