Issue here that while converting to json object decimal value get truncated. I'm using Json-lib for below code.
String str = "{'key':'key','type':'string','value':9276658.1}";
JSONObject fromObject = JSONObject.fromObject(str);
// sysout -> output {"key":"key","type":"string","value":9276658}
How to fix this?