Does anyone know if there is a way to convert the following string into an object?
"width: 100px; height: 20px; border: solid 1px black;"
As you notice, this is a standard CSS property. I know it would be fairly trivial to split on ';' and do the work myself, but looking at some other languages it seems they have native support to do this...
I've been playing around with the JavaScriptSerializer class, but it seems it wants native JSON format.
Thoughts on the easiest, cleanest and most robust way to get this data into a more structured format?