mirror of
https://github.com/tailscale/tailscale.git
synced 2026-09-13 06:19:11 -04:00
The json/v2 prototype used to support a `format` tag option, which has been removed for the initial release of json/v2 in Go 1.27. The wrapper types in this package provide a way to avoid using the `format` tag option for all existing use-cases. The types are written to cooperate with other tag options such as `string`, which may stringify JSON numbers. We adjust cmd/vet/jsontags accordingly. Updates #20220 Updates tailscale/corp#45953 Change-Id: Ie1fcea41dc30983e9acc43085f42a6e8ee49d26e Signed-off-by: Joe Tsai <joetsai@digital-static.net>