(value: string)
| 7 | ); |
| 8 | } |
| 9 | function isMalformedJsonString(value: string): boolean { |
| 10 | return ( |
| 11 | (value.startsWith('{') && !value.endsWith('}')) || |
| 12 | (value.startsWith('[') && !value.endsWith(']')) |
| 13 | ); |
| 14 | } |
| 15 | |
| 16 | export function toDots( |
| 17 | obj: Record<string, unknown>, |