MCPcopy Create free account
hub / github.com/go-json-experiment/json / AllowInvalidUTF8

Function AllowInvalidUTF8

jsontext/options.go:68–74  ·  view source on GitHub ↗

AllowInvalidUTF8 specifies that JSON strings may contain invalid UTF-8, which will be mangled as the Unicode replacement character, U+FFFD. This causes the encoder or decoder to break compliance with RFC 7493, section 2.1, and RFC 8259, section 8.1. This affects either encoding or decoding.

(v bool)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…