How can I efficiently loop through a string and extract key/value pairs? The data is provided to me as a single string using the jstorage plugin.
I attempted to split the string into an array, but the resulting key/values were not as expected.
For example:
"color":"#000000", "font":"12px", "background":"#ffffff",