decoder: Refactored decoding mechanism to permit building even more customized decoders
commit2b29dded6d9fa2d36031244cd6cfedf52d4255f1
authorThomas Harning Jr <harningt@gmail.com>
Tue, 5 Aug 2008 04:27:46 +0000 (5 00:27 -0400)
committerThomas Harning Jr <harningt@gmail.com>
Tue, 5 Aug 2008 04:27:46 +0000 (5 00:27 -0400)
tree20cc7f984b8a6057898b1d1e8fb5519c97f34c9f
parente2985d81b7b82c1fcec33d659ad96add6b6d6a2c
decoder: Refactored decoding mechanism to permit building even more customized decoders

 * Regression tests now use a slightly altered parser to handle Inf
 * Each individual parser (number,string,array,object) has a 'strict' and 'default' mode table
 * Each full parser has a 'strict' and 'default' mode table
src/json/decode.lua
src/json/decode/array.lua
src/json/decode/number.lua
src/json/decode/object.lua
src/json/decode/util.lua
tests/regressionTest.lua