Correctly handle replacements with escaped values; closes #2041

This commit is contained in:
Dane Everitt
2020-06-29 20:08:36 -07:00
parent 1f6789cba3
commit b33f14ddd9
3 changed files with 17 additions and 17 deletions

View File

@@ -14,7 +14,9 @@ func (cv *ReplaceValue) Value() []byte {
}
func (cv *ReplaceValue) String() string {
return string(cv.value)
str, _ := jsonparser.ParseString(cv.value)
return str
}
func (cv *ReplaceValue) Type() jsonparser.ValueType {