mirror of https://github.com/rxi/json.lua.git
Removed support for numbers starting with "."
parent
8d14272359
commit
89a5a96194
1
json.lua
1
json.lua
|
@ -335,7 +335,6 @@ local char_func_map = {
|
||||||
[ "7" ] = parse_number,
|
[ "7" ] = parse_number,
|
||||||
[ "8" ] = parse_number,
|
[ "8" ] = parse_number,
|
||||||
[ "9" ] = parse_number,
|
[ "9" ] = parse_number,
|
||||||
[ "." ] = parse_number,
|
|
||||||
[ "-" ] = parse_number,
|
[ "-" ] = parse_number,
|
||||||
[ "t" ] = parse_keyword,
|
[ "t" ] = parse_keyword,
|
||||||
[ "f" ] = parse_keyword,
|
[ "f" ] = parse_keyword,
|
||||||
|
|
Loading…
Reference in New Issue