Custom decode function. func is the name of the function which must be present as child.
See Implementation
Custom decode function. func is the name of the function which must be present as child.