XML : JSON output is having quotation when value is like 0.000XXX while XML output is ok

I am retrieving data using Java webservice from Database;

In Database, there is no quotation ("") with the value (0.000644);

Webservice call in XML showing it in correct form:

0.000644

But webservice call in JSON format, it is adding quotation with the value:

"0.000644"

I have noticed - it is happening only when value contains 0.000;

It is ANT webservice (RESTful); using CXF Framework; Let me know any more information you need to pin point the issue and to resolve;

I appreciate any help;

No comments:

Post a Comment