luxin88 / chrome-rest-client

Automatically exported from code.google.com/p/chrome-rest-client
0 stars 0 forks source link

JSON tab does not handle numbers above 15 digits long #238

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Get respose from server in JSON. At least one value should has 16 or more 
digits.
2. RAW tab show correct response. JSON tab rounds digits to 15 numbers (see 
jobId below).

What is the expected output? 
"jobId":710000000017630930
RAW:
{"id":"-1017217058851284123","jsonrpc":"2.0","result":{"delay":20,"errorMessage"
:null,"jobNumber":637233,"jobDate":"2014-03-03 
13:10:25","price":null,"jobId":710000000017630930,"errorCode":null}}

What do you see instead?
jobId: 710000000017631000
JSON:
{
id: "-1017217058851284123"
jsonrpc: "2.0"
result: {
delay: 20
errorMessage: null
jobNumber: 637233
jobDate: "2014-03-03 13:10:25"
price: null
jobId: 710000000017631000
errorCode: null
}-
}

On what operating system, browser and browser version?
Windows 7 64 bit, chrome 33.0.1750.117 m

Original issue reported on code.google.com by sinyagov...@gmail.com on 3 Mar 2014 at 9:19