title: Can we pass a JSON object directly to another route through Vue router without using JSON.stringify
body: <p>When I initially tried to pass the object which is an array of other objects (received from an axios post) to another route like this:</p>
  <pre><code>this.$router.push({
      name: &quot;EMR&quot;,
      params: {
          records: response,
      },
  });
  </code></pre>
  <p>I received an array like the following:</p>
  <pre><code>[Object Object],
  [Object Object],
  ...
  [Object Object]
  </code></pre>
  <p>I could fix it using:</p>
  <pre><code>this.$router.push({
      name: &quot;EMR&quot;,
      params: {
          records: JSON.stringify(response),
      },
  });
  </code></pre>
  <p>And then using the following in the destination route:</p>
  <pre><code>created () {    
      this.clinical_records = JSON.parse(this.$route.params.records)   
  }
  </code></pre>
  <p>Is this the proper way to do this? Or is there something I am missing?</p>