JSON.parse("[{pattern:/\d{11}/}]")
such as this , JSONException , invalid comment
JSONException , invalid comment
wlzqhblo1#
"[{pattern:/\d{11}/}]" isn't a valid json format,the reason of JSONException is fastjson think '/' is the beginning of comment,but only the following comment formats are valid:
// comment /* comment */
1条答案
按热度按时间wlzqhblo1#
"[{pattern:/\d{11}/}]" isn't a valid json format,the reason of JSONException is fastjson think '/' is the beginning of comment,but only the following comment formats are valid: