Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

翻译文本报错 Expecting JSON value(string, number, true, false, null, object or array) #118

Closed
zhangta opened this issue Sep 5, 2022 · 1 comment

Comments

@zhangta
Copy link

zhangta commented Sep 5, 2022

---------------------------
CapsLock+.ahk
---------------------------
Error in #include file "C:\Users\Administrator\Downloads\capslock-plus-master\lib\lib_ydTrans.ahk":
     Expecting JSON value(string, number, true, false, null, object or array)

Line:	0x1
Col:	0x1
Char:	0x1

Specifically: <

	Line#
	145: }
	146: Catch
	147: {
	148: MsgBoxStr := lang_yd_errorNoNet
	149: Goto,setTransText
	150: }
	152: responseStr := whr.ResponseText
--->	155: transJson := JSON.Load(responseStr)
	158: returnError := transJson.errorCode
	159: if (returnError)  
	160: {
	161: if (returnError=10)  
	162: {
	163: MsgBoxStr := lang_yd_errorTooLong
	164: }

The current thread will exit.
@zhangta
Copy link
Author

zhangta commented Sep 5, 2022

resolved #109

@zhangta zhangta closed this as completed Sep 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant