mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-11-21 14:44:00 +00:00
9c4b0334f2
The %q formatter may result in incorrectly formatted JSON string if the original string
contains special chars such as \x1b . They must be encoded as \u001b , otherwise the resulting JSON string
cannot be parsed by JSON parsers.
This is a follow-up for
|
||
---|---|---|
.. | ||
json.go | ||
json_test.go | ||
less_natural.go | ||
less_natural_test.go | ||
less_natural_timing_test.go | ||
stringsutil.go | ||
stringsutil_test.go | ||
stringsutil_timing_test.go |