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

Update JSON.ahk #1

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update JSON.ahk
Change misstake ']' to '}'
  • Loading branch information
robertlzj committed Jul 8, 2014
commit b10b4285a13f5b61965e6a3af2b2801ff5f19fa0
2 changes: 1 addition & 1 deletion JSON.ahk
Original file line number Diff line number Diff line change
@@ -258,7 +258,7 @@ class JSON
for k, v in esc_char
StringReplace, obj, obj, % k, % v, A

static _t:={0:"0",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",10:"A",11:"B",12:"C",13:"D",14:"E",15:"F"]
static _t:={0:"0",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",10:"A",11:"B",12:"C",13:"D",14:"E",15:"F"}
while RegExMatch(obj, "[^\x20-\x7e]", ch) {
ustr := Asc(ch), esc_ch := "\u", n := 12
while (n >= 0)