title: Convert HTML Element's "Style" Attribute to JSON
body: <p>I need to convert the style attribute of an HTML element to a JSON object with JavaScript / jQuery. How should I go about this?</p>
  
  <p><strong>Clarification:</strong>
  Lets say I have <code>&lt;div style="font-size: 14px; text-align: center;"&gt;&lt;/div&gt;</code>, so I want a JSON object: <code>{font-size: 14px, text-align: center}</code></p>