1/ I wish #golang json serialization marshal/unmarshal an int64 as a string while keeping the int64 representation. Something like,
type User {
UserId int64 `json:"user_id,stringmode"`
}
-
Show this thread
-
Replying to @generativist
Does the `,string` struct tag help here? https://play.golang.org/p/odYVkUJEbd1
1 reply 0 retweets 2 likes
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.