Remove every superfluous properties from the input object, even including nested
objects. Note that, as every superfluous properties would be deleted, you never can
read those superfluous properties after calling this prune() function.
For reference, this typia.misc.prune() function does not validate the input value
type. It just believes that the input value is following the type T. Therefore,
if you can't ensure the input value type, it would better to call one of below
functions instead.
Prune, erase superfluous properties.
Remove every superfluous properties from the
input
object, even including nested objects. Note that, as every superfluous properties would be deleted, you never can read those superfluous properties after calling thisprune()
function.For reference, this
typia.misc.prune()
function does not validate the input value type. It just believes that the input value is following the typeT
. Therefore, if you can't ensure the input value type, it would better to call one of below functions instead.