1 2 3 4 5
/* custom error:Result is empty*/ $json = CAST("{}" as Json); SELECT JSON_VALUE($json, "lax $.key" ERROR ON EMPTY);