Re:MessagePack: like JSON, but fast and small
by lokedhs on Thursday March 12, 2020 @11:36AM
(#22557921)
I think there is a rather large difference between not having a username type vs. not having an integer type.
As it turns out, the only way you can reliably store an integer in JSON is to use a string field. This is incidentally also the correct way to store a username in JSON.
As it turns out, the only way you can reliably store an integer in JSON is to use a string field. This is incidentally also the correct way to store a username in JSON.