question

andymaddison avatar image
andymaddison asked

JSON Editor bug in dashboard

There seems to be bug with the JSON Editor for viewing readonly player data.

E.g. I have a key-value pair whose value string looks like this

{"submissionId":637274825800463160,"leaderboardName":"Tournament","score":1,"when":"2020-06-11T14:29:41.6509044Z"}

However, when viewing in the JSON Editor I see this

{ "submissionId": 637274825800463100, "leaderboardName": "Tournament", "score": 1, "when": "2020-06-11T14:29:41.6509044Z" }

Notice the difference in the submissionId field.

Player Data
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

·
Seth Du avatar image
Seth Du answered

Please try to store very large number as a string, because 637274825800463160 has exceeded the max-safe-integer in JavaScript, which is 253 – 1.

Please refer to:

10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.