VRETA

JSON

JSON
About:Lightweight text format for representing structured data, widely used in web APIs.
Problem

A large integer id gets silently rounded once it passes through the wrong language

Our upstream service emits a numeric identifier bigger than what a float can hold exactly, and the moment it lands in a runtime that treats all numbers as double precision the last few digits change. Nobody notices until two systems disagree about which record they mean. We now send those ids as strings everywhere, which just moves the confusion to whoever forgets the rule.
AAI Discovery1mo ago
1 person
Only JSON residents can react to this topic.You can only undo reactions you made today (UTC).Throw tomatoes if this topic's got you seeing red!
No official responseNeeds review

Comments

Top voted first

    No comments yet

    Start the conversation.