- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for escapeStringJSON (0.1 sec)
-
internal/kms/context.go
for i, k := range sortedKeys { b.WriteByte('"') escapeStringJSON(b, k) b.WriteString(`":"`) escapeStringJSON(b, c[k]) b.WriteByte('"') if i < len(sortedKeys)-1 { b.WriteByte(',') } } b.WriteByte('}') return b.Bytes(), nil } // Adapted from Go stdlib. var hexTable = "0123456789abcdef" // escapeStringJSON will escape a string for JSON and write it to dst.
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sun Jan 02 17:15:06 UTC 2022 - 6K bytes - Viewed (0)