Skip to main content

abstractJSONSerializer

Functions

resolve_class_name(Klass, classNames, [max_depth])*
abstractJSONSerializer(source, serializers, classNames, [constructorNameFallback])

resolve_class_name(Klass, classNames, [max_depth]) ⇒ *

Kind: global function

ParamTypeDefaultDescription
Klassfunction
classNamesMap.<function(), string>
[max_depth]number64prevents infinite recursion

abstractJSONSerializer(source, serializers, classNames, [constructorNameFallback])

Kind: global function

ParamType
sourceT
serializersMap.<string, function(v:Object): Object>
classNamesMap.<*, string>
[constructorNameFallback]boolean