forcing an int field to be encoded as a quoted string.
Go Walkthrough: encoding/json package
Ben Johnson

This is extremely important for 64-bit values! Because JavaScript doesn’t have different integer and floating point types, values above ~53 bits start to lose integer precision. If you could potentially be interacting with JS code, make sure this is a string, but it’s a good idea in any case.

Like what you read? Give Joe Shaw a round of applause.

From a quick cheer to a standing ovation, clap to show how much you enjoyed this story.