• Serialize JSON

    Parameters

    • arg: any

      any object to be serialized

    • pretty: boolean = false

      whether to indent json

    Returns string