Fix json parsing with invalid chars like \u0000 preventing some channels from loading

This commit is contained in:
Brahim Hadriche committed 2025-11-14 15:47:49 -05:00
1 parent 9a319eab75
commit b5261d900f
27 files changed
+61 -32

No files matched your search

@@ -37,6 +37,7 @@ function GetLoadingMessagesFromCache() as object
if messagesFile = ""
return invalid
end if
' bs:disable-next-line NO_PARSE_JSON
return ParseJson(messagesFile)
end function
+1
View File
@@ -28,6 +28,7 @@ namespace Registry
if urlsJson = invalid
return invalid
end if
' bs:disable-next-line NO_PARSE_JSON
urls = ParseJson(urlsJson)
return urls
end function