Method Standards.JSON5.validate_utf8()
- Method
validate_utf8
 intvalidate_utf8(strings)- Description
 Checks if a string is valid utf8 encoded JSON5.
- Returns
 In case the string contains valid JSON5
-1is returned. It is then guaranteed to be parsed without errors by decode(). In case the string is not valid JSON5, the integer position inside the string where the error occurs is returned.