title: How to convert all excel data to JSON in vuejs
body: <p>I am dynamically generating excel template file using vue-json-excel for the user. After user filling data in the template file i want take it as a input and convert all data in JSON formate and send it to the server side  but not getting how to do .</p>
  
  <pre><code>&lt;template&gt;
    &lt;div id="app"&gt;
      &lt;md-field @change="previewFiles"&gt;
            &lt;label&gt;upload excel file&lt;/label&gt;
            &lt;md-file v-model="metaDataFile" @change="previewFiles" /&gt;
      &lt;/md-field&gt;
    &lt;/div&gt;
  &lt;/template&gt;
  
  &lt;script&gt;
      export default {
        components: {
          loginComponent,
          uploadComponent
        },
        data() {
          return {
            metaDataFile: null
          }
        },
        methods:{
          previewFiles(event) {
            console.log(event.target.files);
            console.log(this.metaDataFile);
         }
        }
      }
  
  &lt;/script&gt;
  </code></pre>