I have a string like below in Process_Globals of a service:
My code sends this JSON string to a server and it works well in Debug and Release builds.
However, in Release (obfuscated) builds, the server claims to receive invalid JSON. It receives the above string as:
Is this a bug or should I write my JSON string differently?
I can use JSONGenerator, but this is static string, so I used it this way.
B4X:
Private settings As String = "{""debug"":""true""}"
My code sends this JSON string to a server and it works well in Debug and Release builds.
However, in Release (obfuscated) builds, the server claims to receive invalid JSON. It receives the above string as:
B4X:
{\"debug\":\"true\"}
Is this a bug or should I write my JSON string differently?
I can use JSONGenerator, but this is static string, so I used it this way.