serpent/t
Jess Telford 832af701d3 Allow serialization of only whitelisted keys
Example:

    local a = {
    	foo = 'bar',
    	[1] = 2,
    	[true] = 'only me'
    }

    local options = {
    	keywhitelist = {
    		['foo'] = true,
    		[true] = true
    	},
    	ignore = {
    		['bar'] = true
    	}
    }

    print(serpent.block(a, options))

    -- output:

    {
    	[true] = "only me"
    }
2013-01-04 00:19:20 +11:00
..
bench.lua Added options to configure serialization process 2012-06-12 23:17:44 -07:00
test.lua Allow serialization of only whitelisted keys 2013-01-04 00:19:20 +11:00