Mangling JSON numbers
TechEmpower
JULY 5, 2016
When we encounter a long , we can require that the number fits into a double without losing information. If no information would be lost, we serialize the long as usual and move on. If information would be lost, we throw an exception and cause serialization to fail. Any server-side web framework or HTTP server will do.
Let's personalize your content