string(JSON ... SET ...) should throw json parse error, when value is a semicolon-list of numbers
set(json_str "[]")
string(JSON json_str SET "${json_str}" 0 "\"a;a;a\"")
message("json_str = ${json_str}")
string(JSON json_str SET "${json_str}" 1 "1;1;1") # BUG
message("json_str = ${json_str}")
actual output
json_str = []
json_str = [ "a;a;a" ]
json_str = [ "a;a;a", 1 ]
expected:
string(JSON json_str SET "${json_str}" 1 "1;1;1")
should throw a json parse error