I need help converting a text string to JSON format using JavaScript. The text string is as follows:
workingtable;AB8C;book_id;7541;
I want to convert it into JSON format like this: {"workingtable":"AB8C","book_id":"7541"}
Is there a specific JSON function in JavaScript that can help me achieve this conversion?
Thank you