marshalJSONWithoutHTMLEscape marshals a value to JSON without HTML escaping This matches JavaScript's JSON.stringify behavior
(v any)
| 41 | // marshalJSONWithoutHTMLEscape marshals a value to JSON without HTML escaping |
| 42 | // This matches JavaScript's JSON.stringify behavior |
| 43 | func marshalJSONWithoutHTMLEscape(v any) (string, error) { |
| 44 | return jsonutil.MarshalCompactNoHTMLEscape(v) |
| 45 | } |
| 46 | |
| 47 | // marshalSorted recursively marshals data with sorted keys |
| 48 | func marshalSorted(data any) string { |
no test coverage detected