Forum Discussion
Hi mohit_jain,
Good day, you can also try to manipulate the string to be a valid JSON string.. just like what Sir Matthias suggested
Expression:
JSON.parse('['.concat($.get('String','').replace(/\{|\=|\}|\,[^\{]/g, m => match m {'{'=> '{"', '='=> '":"', '}'=> '"}', ', '=> '","', ','=> '","'}),']'))
Related Content
- 4 years ago
- 6 months ago