fun withTranslator(translator: ITranslator): ObjectFormatterOptions
Uses the given translator as ITranslator.