• Safely stringify an object to JSON Returns a placeholder string if serialization fails

    Parameters

    • obj: any

    Returns string