title: Parse Text CSS into JSON with Javascript
body: <p>I just simply want something that will take a textarea full of CSS and turn it into JSON using the CSS JSON method.</p>
  
  <pre><code>{
      "selector-1":{
          "property-1":"value-1",
          "property-n":"value-n"
      }
  }
  </code></pre>
  
  <p><a href="http://www.featureblend.com/css-json.html" rel="noreferrer">http://www.featureblend.com/css-json.html</a></p>
  
  <p>Does anyone know of something that will decode CSS into JSON?  It would also be helpful if it could encode it as well.</p>