Source File
invalid_utf8.go
Belonging Package
github.com/goccy/go-json/internal/jsonstring
//go:build go1.27 && goexperiment.jsonv2package jsonstring// invalidUTF8 is what a byte of a string which is not valid UTF-8 is replaced by: encoding/json of Go 1.27,// which is made of encoding/json/v2, writes the replacement character U+FFFD as it is, without an escape.const invalidUTF8 = "\ufffd"
![]() |
The pages are generated with Golds v0.8.7. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |