make raw json scanning determinisctic and added setting option to limit log data size

This commit is contained in:
Gani Georgiev committed 2026-08-18 22:46:51 +03:00
1 parent f5695a7308
commit 25081f14eb
6 files changed
+200 -9

No files matched your search

+1 -1
View File
@@ -73,7 +73,7 @@ func (j *JSONRaw) Scan(value any) error {
data = []byte(v)
}
default:
bytes, err := json.Marshal(v)
bytes, err := json.Marshal(v, json.Deterministic(true))
if err != nil {
return err
}