(inputList: any[])
| 142 | } |
| 143 | |
| 144 | function convertNestedToJsonInPlace(inputList: any[]): any[] { |
| 145 | for (let i = 0; i < inputList.length; i++) { |
| 146 | inputList[i] = convertNestedItemToJson(inputList[i]); |
| 147 | } |
| 148 | |
| 149 | return inputList; |
| 150 | } |
| 151 | function convertNestedItemToJson(item: any) { |
| 152 | const processedDict: { [key: string]: any} = {} |
| 153 | for (const [key, value] of Object.entries(item)) { |
no test coverage detected