How to convert four and 2 space indented text to json format
I have been spending hours to convert the space indented text to JSON. In my raw text data, nested values are indented by 4 spaces and key:value are indented by 2 spaces. I am trying to make a JSON out…