title: Receiving data from server as json data but not able to parse the data in react
body: <p>I am receiving the data from server but not able to parse it. when i parse i am geeting an error as 
  " Unexpected token u in JSON at position 0
      at JSON.parse ()".</p>
  
  <pre><code>import React from 'react';
  import axios from 'axios';
  
  
  
  class Premontessori extends React.Component{
    constructor(props){
      super(props);
      this.state={
        post:[]
      };
  
    }
  
  
  componentDidMount(){
    axios.get('http://localhost:8080/list')
    .then(data =&gt;  this.setState({post:data} )
  
  );
  
      }
  
  
    render(){
      return(
      &lt;div&gt;
      {JSON.parse(this.state.post.data)}
  
  
  &lt;/div&gt;
  
      );
    }
  }
  export default Premontessori;
  </code></pre>