title: How to Pass Json object in GET url query string
body: <p>I have a json object in javascript,</p>
  
  <pre><code>filters = Object {assetType: "CAR~LIGHT TRUCK", bodyType: "SEDAN~SPORT UTIL"}
  </code></pre>
  
  <p>I need to pass these values along with 5 more string value in query string.</p>
  
  <pre><code>url = '/starHome/exportToCsv/'+tier+'/?period='+period+'&amp;level2='+level2+'&amp;level3='+level3+'&amp;level4='+level4+'&amp;filters='+filters;
  </code></pre>
  
  <p><strong>window.location.href = url;</strong>
  when I tried to get filter parameter value in controller
  <code>request.getparamter("filters");</code> I get "<code>[object object]</code>"</p>
  
  <p>how can I pass this value to controller?.
  I have a pojo class contains all these fields. Can I make use of that class?.</p>