Skip to main content
Version: 5.9

serialize

Callable


  • Converts entity instance to POJO, converting the Collections to arrays and unwrapping the Reference wrapper, while respecting the serialization options.


    Type parameters

    • T: object
    • P: string = never

    Parameters

    Returns EntityDTO<Loaded<T, P>>