Extract member or element of obj according to pointer.

    :param obj: the object source
    :param pointer: the pointer
    :type pointer: Pointer, str
    :param bypass_ref: bypass JSON Reference event
    :type bypass_ref: boolean

def extract(obj, pointer, bypass_ref=False):
    """Extract member or element of obj according to pointer.

    :param obj: the object source
    :param pointer: the pointer
    :type pointer: Pointer, str
    :param bypass_ref: bypass JSON Reference event
    :type bypass_ref: boolean
    """

    return Pointer(pointer).extract(obj, bypass_ref)