(obj: object, space: number = 4)
| 180 | } |
| 181 | |
| 182 | public toJSONString(obj: object, space: number = 4): string { |
| 183 | try { |
| 184 | return JSON.stringify(obj, null, space); |
| 185 | } catch (e) { |
| 186 | throw new Error(`SettingsService.toJSONString error: ${e}`); |
| 187 | } |
| 188 | } |
| 189 | } |
no outgoing calls
no test coverage detected