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

Function EscapeForHTML

jsontext/options.go:81–87  ·  view source on GitHub ↗

EscapeForHTML specifies that '<', '>', and '&' characters within JSON strings should be escaped as a hexadecimal Unicode codepoint (e.g., \u003c) so that the output is safe to embed within HTML. This only affects encoding and is ignored when 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…