fix: return empty vector for blank input in inline JSON parser

This commit is contained in:
Mega Yu
2026-05-14 21:22:08 +08:00
parent c09944870e
commit 4807578d35

View File

@@ -323,7 +323,7 @@
[text config]
(try
(if (string/blank? text)
{}
[]
(-> text
(inline-parse-json config)
(common-util/json->clj)