title: Loading JSON string into a pie chart in highcharts
body: <p>I need to include my json String output to a highcharts --pie chart category
  but chart is not loading properly </p>
  
  <p>This is my JSON string</p>
  
  <pre><code>var json = {"{\"name\":\"BillToMobile\"}":{"y":2.35},"{\"name\":\"Telenav\"}":{"y":13.59}}
  
  
  Highcharts.chart('container', {
      chart: {
          plotBackgroundColor: null,
          plotBorderWidth: null,
          plotShadow: false,
          type: 'pie'
      },
      title: {
          text: ''
      },
      tooltip: {
          pointFormat: '{series.name}: &lt;b&gt;{point.percentage:.1f}%&lt;/b&gt;'
      },
      plotOptions: {
          pie: {
              allowPointSelect: true,
              cursor: 'pointer',
              dataLabels: {
                  enabled: true,
                  format: '&lt;b&gt;{point.name}&lt;/b&gt;: {point.percentage:.1f} %',
                  style: {
                      color: (Highcharts.theme &amp;&amp; Highcharts.theme.contrastTextColor) || 'black'
                  }
              }
          }
      },
      series: [{
          name: 'Brands',
          colorByPoint: true,
          data: json
      }]
  });
  </code></pre>
  
  <p>Below is the chart what I'm getting when loading this jsonstring.
  Can any one help me with this because I'm new to this.Thanks in advance.</p>
  
  <p><a href="https://i.stack.imgur.com/ocQuF.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/ocQuF.png" alt="This is the chart error output"></a></p>