Commit 03c858c
committed
feat: Add 'indent' parameter to ConfigurationManager for JSON formatting control
- Added an 'indent' parameter to the ConfigurationManager class, allowing users to specify the JSON indentation level when saving and creating backups.
- Updated the 'save' and 'backup' methods to accept the 'indent' parameter and pass it to the underlying JSON template.
This enhancement provides users with the flexibility to control the JSON indentation level when using the 'save' and 'backup' methods in the ConfigurationManager class, improving the customization options for JSON formatting.1 parent 66ae795 commit 03c858c
1 file changed
+5
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| 25 | + | |
25 | 26 | | |
26 | 27 | | |
27 | 28 | | |
| |||
37 | 38 | | |
38 | 39 | | |
39 | 40 | | |
| 41 | + | |
| 42 | + | |
40 | 43 | | |
41 | 44 | | |
42 | 45 | | |
| |||
55 | 58 | | |
56 | 59 | | |
57 | 60 | | |
58 | | - | |
| 61 | + | |
59 | 62 | | |
60 | 63 | | |
61 | 64 | | |
| |||
66 | 69 | | |
67 | 70 | | |
68 | 71 | | |
69 | | - | |
| 72 | + | |
70 | 73 | | |
71 | 74 | | |
72 | 75 | | |
| |||
0 commit comments