Mangling JSON numbers
TechEmpower
JULY 5, 2016
Theoretically we can send it from a Java server to a JavaScript client via JSON and both sides see exactly the same number. To convince ourselves that this number is safe, we examine various representations of this number in Java and JavaScript: // In Java long x = 1L. Any server-side web framework or HTTP server will do.
Let's personalize your content