When I receive my EjB response using AJAX, it looks like this:
"{'Active':{'123','456','789'},'Inactive':{'111','222','333'}}"
My goal is to convert the string above into JSON objects that can be used in JavaScript to create a map.
Alternatively,
I am looking to convert the same string into the following format in JavaScript:
var active = ["123", "456", "789"]; var inactive = ["111", "222", "333"];
Just a reminder: I am utilizing AJAX in JS for this operation.