mirror of
https://github.com/pkulchenko/serpent.git
synced 2024-11-21 23:24:24 +00:00
Updated documentation to include keywhitelist option
This commit is contained in:
parent
832af701d3
commit
fc844df716
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user