Updated documentation to include keywhitelist option

This commit is contained in:
Jess Telford 2013-01-04 00:45:16 +11:00
parent 832af701d3
commit fc844df716

View File

@ -60,6 +60,7 @@ internal function, but set different options by default:
* nohuge (true/False) -- disable checking numbers against undefined and huge values
* maxlevel (number) -- specify max level up to which to expand nested tables
* ignore (table) -- allows to specify a list of values to ignore (as keys)
* keywhitelist (table) -- allows to specify the list of keys to be serialized. Any keys not in this list are not included in final output (as keys)
* custom (function) -- provide custom output for tables
These options can be provided as a second parameter to Serpent functions.