This post is a case study of a job I had to do in a legacy application, it doesn’t mean it will apply to you, but it might.
This is a table of contents:
- Converting to a JSON array
- 1st step: remove the leading commas
- 2nd step: add brackets to the string
- 3rd step: validate if the changes works
- Replacing 1st step and …