yudai / gojsondiff

Go JSON Diff
Other
535 stars 81 forks source link

jd format changes integer to scientific notation #32

Open jermudgeon opened 5 years ago

jermudgeon commented 5 years ago

Unescaped integer is changed from this:

 {
    "serverId" : "5ba829fa-86d9-4246-b4ce-24cc896180c0",
    "id" : 14253805,
    "typeName" : "Service",
    "typeDisplayName" : "Service",
    "displayName" : "New York Office"
  }, 

To this:

-    70: {
-      "displayName": "New York Office",
-      "id": 1.4253805e+07,
-      "serverId": "5ba829fa-86d9-4246-b4ce-24cc896180c0",
-      "typeDisplayName": "Service",
-      "typeName": "Service"
-    },