7b07dc4c6e 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #9  from aleksanderd/master  
							
							... 
							
							
							
							fix  #41 : Large numbers serialized incorrectly 
						
							2022-11-20 01:11:22 -05:00  
				
					
						
							
							
								 
						
							
							
								6006d0fcc0 
								
									
								
							
								 
							
						 
						
							
							
								
								fix   #41 : Large numbers serialized incorrectly  #9  
							
							
							
						 
						
							2022-11-20 01:10:24 -05:00  
				
					
						
							
							
								 
						
							
							
								22e38a11d4 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #8  from alexandro-rezakhani/alexandro-rezakhani-patch-1  
							
							... 
							
							
							
							Optimize code 
							
						 
						
							2022-11-20 00:58:57 -05:00  
				
					
						
							
							
								 
						
							
							
								917e8a08c2 
								
									
								
							
								 
							
						 
						
							
							
								
								Optimize code  
							
							... 
							
							
							
							Took advice from @Dnsls and @Faserr to optimize code from #34 .
https://github.com/rxi/json.lua/issues/34 
https://github.com/rxi/json.lua/issues/34#issue-900464723 
https://github.com/rxi/json.lua/issues/34#issuecomment-1060329470  
							
						 
						
							2022-11-20 00:58:38 -05:00  
				
					
						
							
							
								 
						
							
							
								cd2b736e8c 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #6  from alexandro-rezakhani/alexandro-rezakhani-patch-1  
							
							... 
							
							
							
							Update json.lua 
							
						 
						
							2022-11-20 00:28:22 -05:00  
				
					
						
							
							
								 
						
							
							
								c7968a00b9 
								
									
								
							
								 
							
						 
						
							
							
								
								Update json.lua  
							
							
							
						 
						
							2022-11-20 00:25:18 -05:00  
				
					
						
							
							
								 
						
							
							
								15823a48b3 
								
							
								 
							
						 
						
							
							
								
								fix   #41 : Large numbers serialized incorrectly  
							
							
							
						 
						
							2022-11-11 21:41:19 +03:00  
				
					
						
							
							
								 
						
							
							
								43efcf7de4 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #3  from aryajur/master  
							
							... 
							
							
							
							@aryajur Improved table encoding code to handle sparse arrays. 
							
						 
						
							2021-06-04 11:46:17 -04:00  
				
					
						
							
							
								 
						
							
							
								17b308b574 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #2  from kyl3n/master  
							
							... 
							
							
							
							@kyl3n Fixed locale floating point character 
							
						 
						
							2021-06-04 11:28:41 -04:00  
				
					
						
							
							
								 
						
							
							
								aea1c2cbbe 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #1  from bhaku/master  
							
							... 
							
							
							
							Update info about supporting Lua 5.4 version 
							
						 
						
							2021-06-04 11:18:12 -04:00  
				
					
						
							
							
								 
						
							
							
								6465f08e4d 
								
							
								 
							
						 
						
							
							
								
								Update info about supporting Lua 5.4 version  
							
							
							
						 
						
							2020-12-30 21:04:13 +01:00  
				
					
						
							
							
								 
						
							
							
								f521e4ac03 
								
							
								 
							
						 
						
							
							
								
								nLen initialization fixed  
							
							
							
						 
						
							2020-08-22 22:25:28 -07:00  
				
					
						
							
							
								 
						
							
							
								32a59c89b0 
								
							
								 
							
						 
						
							
							
								
								Updated code to allow array specifications using table.pack function. The array detection code now allows for the array to have a key n with a number value to detect the array length.  
							
							
							
						 
						
							2020-08-18 21:42:49 -07:00  
				
					
						
							
							
								 
						
							
							
								ad6ac0fd8e 
								
							
								 
							
						 
						
							
							
								
								Improved table encoding code to handle sparse arrays. Floating point numbers are encoding improved.  
							
							
							
						 
						
							2020-07-19 15:26:25 -07:00  
				
					
						
							
							
								 
						
							
							
								dbf4b2dd2e 
								
									
								
							
								 
							
						 
						
							
							
								
								Create FUNDING.yml  
							
							
							
						 
						
							2020-06-18 17:03:53 +01:00  
				
					
						
							
							
								 
						
							
							
								ee6abdecb2 
								
							
								 
							
						 
						
							
							
								
								Updated README for loc changes  
							
							
							
						 
						
							2020-04-05 12:08:38 +01:00  
				
					
						
							
							
								 
						
							
							
								11077824d7 
								
							
								 
							
						 
						
							
							
								
								Updated copyright year: 2019 => 2020  
							
							
							
						 
						
							2020-04-05 12:06:41 +01:00  
				
					
						
							
							
								 
						
							
							
								6d080a1a66 
								
							
								 
							
						 
						
							
							
								
								Additional string tests  
							
							
							
						 
						
							2020-04-05 12:04:05 +01:00  
				
					
						
							
							
								 
						
							
							
								2e76cfb067 
								
							
								 
							
						 
						
							
							
								
								Fixed bug in `parse_string`'s escape sequence handling  
							
							... 
							
							
							
							Fixes  #22  
						
							2020-04-05 11:56:28 +01:00  
				
					
						
							
							
								 
						
							
							
								8aa60078ca 
								
							
								 
							
						 
						
							
							
								
								Added currently failing test case for `u` preceded with multiple `\` in tests  
							
							
							
						 
						
							2020-04-05 10:31:45 +01:00  
				
					
						
							
							
								 
						
							
							
								a8d5dc7e9d 
								
							
								 
							
						 
						
							
							
								
								replace only comma or decimal in floating point integer  
							
							... 
							
							
							
							previous version was replacing minus sign in negative numbers in error. 
							
						 
						
							2019-08-26 14:17:03 -06:00  
				
					
						
							
							
								 
						
							
							
								0cbd6c3636 
								
							
								 
							
						 
						
							
							
								
								Fixed locale floating point character  
							
							... 
							
							
							
							When running this code in locales that do not use a period for floating point integers, an error would occur. This is now resolved. 
							
						 
						
							2019-07-26 19:51:39 -06:00  
				
					
						
							
							
								 
						
							
							
								d1e3b0f5d0 
								
							
								 
							
						 
						
							
							
								
								Version 0.1.2  
							
							
							
						 
						
							2019-06-21 22:44:42 +01:00  
				
					
						
							
							
								 
						
							
							
								69b714ad2b 
								
							
								 
							
						 
						
							
							
								
								Updated copyright year (2018 -> 2019)  
							
							
							
						 
						
							2019-04-09 20:20:50 +01:00  
				
					
						
							
							
								 
						
							
							
								f049daf06c 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #15  from nikeinikei/master  
							
							... 
							
							
							
							Fix serializing of tables with overloaded indexing / using __index metamethod 
							
						 
						
							2019-04-09 20:10:27 +01:00  
				
					
						
							
							
								 
						
							
							
								fd58f29876 
								
							
								 
							
						 
						
							
							
								
								Merge branch 'master' of  https://github.com/nikeinikei/json.lua  
							
							
							
						 
						
							2019-01-11 19:22:45 +01:00  
				
					
						
							
							
								 
						
							
							
								d3f417d4d4 
								
							
								 
							
						 
						
							
							
								
								fix array detection when using overloaded indexing  
							
							
							
						 
						
							2019-01-11 19:22:04 +01:00  
				
					
						
							
							
								 
						
							
							
								e1abe1c45c 
								
							
								 
							
						 
						
							
							
								
								fix array detection when using overloaded indexing  
							
							
							
						 
						
							2019-01-11 19:12:00 +01:00  
				
					
						
							
							
								 
						
							
							
								bee7ee3431 
								
							
								 
							
						 
						
							
							
								
								Version 0.1.1  
							
							
							
						 
						
							2018-04-08 16:17:25 +01:00  
				
					
						
							
							
								 
						
							
							
								eb6e343c53 
								
							
								 
							
						 
						
							
							
								
								Added checking and tests for trailing garbage when decoding  
							
							
							
						 
						
							2018-03-10 14:28:50 +00:00  
				
					
						
							
							
								 
						
							
							
								19cc024df6 
								
							
								 
							
						 
						
							
							
								
								Updated copyright year (2015 -> 2018), moved full license to json.lua  
							
							
							
						 
						
							2018-03-10 14:16:05 +00:00  
				
					
						
							
							
								 
						
							
							
								e1dbe93f7c 
								
							
								 
							
						 
						
							
							
								
								Commented-out "strict decode" tests  
							
							... 
							
							
							
							These tests failing isn't an indication of the library not working as
intended; omitting them for the moment 
							
						 
						
							2015-09-30 21:03:27 +01:00  
				
					
						
							
							
								 
						
							
							
								cc9833592e 
								
							
								 
							
						 
						
							
							
								
								Version 0.1.0  
							
							
							
						 
						
							2015-09-15 22:34:55 +01:00  
				
					
						
							
							
								 
						
							
							
								bf3ebf6679 
								
							
								 
							
						 
						
							
							
								
								Added argument type-checking to json.decode()  
							
							
							
						 
						
							2015-09-06 14:07:28 +01:00  
				
					
						
							
							
								 
						
							
							
								89b0e905ef 
								
							
								 
							
						 
						
							
							
								
								Changed empty table to be treated as array when encoding  
							
							
							
						 
						
							2015-09-06 10:32:25 +01:00  
				
					
						
							
							
								 
						
							
							
								19b61e0628 
								
							
								 
							
						 
						
							
							
								
								Improved error message when encoding mixed/bad key types  
							
							
							
						 
						
							2015-09-05 19:56:53 +01:00  
				
					
						
							
							
								 
						
							
							
								4fb28bbeee 
								
							
								 
							
						 
						
							
							
								
								Fixed decoding of escaped '/', added test  
							
							
							
						 
						
							2015-08-31 18:43:08 +01:00  
				
					
						
							
							
								 
						
							
							
								45cd518b25 
								
							
								 
							
						 
						
							
							
								
								Fixed mistake in README  
							
							
							
						 
						
							2015-08-30 21:37:10 +01:00  
				
					
						
							
							
								 
						
							
							
								cd8ecd34e3 
								
							
								 
							
						 
						
							
							
								
								Updated point in Notes section  
							
							
							
						 
						
							2015-08-30 19:32:43 +01:00  
				
					
						
							
							
								 
						
							
							
								9fbfcde195 
								
							
								 
							
						 
						
							
							
								
								Improved error messages when encoding invalid table  
							
							
							
						 
						
							2015-08-30 19:17:58 +01:00  
				
					
						
							
							
								 
						
							
							
								a674e3ec0f 
								
							
								 
							
						 
						
							
							
								
								Updated tests for encoding sparse/mixed key-type tables  
							
							
							
						 
						
							2015-08-30 19:11:19 +01:00  
				
					
						
							
							
								 
						
							
							
								70556ccea5 
								
							
								 
							
						 
						
							
							
								
								Added checking for sparseness and mixed key types when encoding array  
							
							
							
						 
						
							2015-08-30 19:08:50 +01:00  
				
					
						
							
							
								 
						
							
							
								3845cef229 
								
							
								 
							
						 
						
							
							
								
								Renamed 'keyword' -> 'literal'  
							
							
							
						 
						
							2015-08-20 18:54:00 +01:00  
				
					
						
							
							
								 
						
							
							
								83164fb45c 
								
							
								 
							
						 
						
							
							
								
								Removed unused `chr` argument from internal parse funcs  
							
							
							
						 
						
							2015-08-19 21:15:32 +01:00  
				
					
						
							
							
								 
						
							
							
								2547923431 
								
							
								 
							
						 
						
							
							
								
								Updated README for increase in code size  
							
							
							
						 
						
							2015-08-19 21:03:25 +01:00  
				
					
						
							
							
								 
						
							
							
								425c8b3e88 
								
							
								 
							
						 
						
							
							
								
								Replaced use of string.sub() + .byte() in parse_string with just .byte()  
							
							... 
							
							
							
							Provides a noticeable speed improvement on both Lua5.2 and LuaJIT 2.0.2 
							
						 
						
							2015-08-19 21:00:40 +01:00  
				
					
						
							
							
								 
						
							
							
								6fdbd28ed9 
								
							
								 
							
						 
						
							
							
								
								Replaced new-line-in-string check with control-char check; tests  
							
							
							
						 
						
							2015-08-19 20:00:11 +01:00  
				
					
						
							
							
								 
						
							
							
								7f823abd2e 
								
							
								 
							
						 
						
							
							
								
								Fixed parse_string() to handle "\\" correctly, added tests  
							
							
							
						 
						
							2015-08-19 19:28:10 +01:00  
				
					
						
							
							
								 
						
							
							
								50f4512c2c 
								
							
								 
							
						 
						
							
							
								
								Added additional case in 'numbers' test  
							
							
							
						 
						
							2015-08-15 11:58:06 +01:00  
				
					
						
							
							
								 
						
							
							
								9beca8a5bd 
								
							
								 
							
						 
						
							
							
								
								Changed encode_number() number->string conversion method  
							
							... 
							
							
							
							Using Lua5.3, tonumber() will represent the float `1` as "1.0" instead
of "1". Using string.format("%14g, x) `1` is converted to "1" regardless
of whether it's an int or float. All other conversions seem to be
uneffected. 
							
						 
						
							2015-08-15 11:52:07 +01:00