Extracted at 2014-06-26.
pike.ida.liu.se
[Top]
Tools
Tools.JSON
Tools.JSON.RenderContext

Class Tools.JSON.RenderContext


Variable default_filter

protected multiset|function Tools.JSON.RenderContext.default_filter

Description

an object which provides context to the JSON rendering process.

filters may either be a multiset containing a list of filters to exclude from the rendered json, or a function that takes the field name and value of a field and returns true to exclude the value from the rendered json.

if a given program does not have a specified filter, then the default filter will be returned.