# Add array to route.data

**URL:** <https://forums.bitovi.com/t/add-array-to-route-data/656>\
**Category:** DoneJS\
**Created:** [June 5, 2017, 1:52pm UTC](https://forums.bitovi.com/t/add-array-to-route-data/656 "2017-06-05T13:52:34Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![justthismorning](https://avatars.discourse-cdn.com/v4/letter/j/c37758/32.png) [@justthismorning](https://forums.bitovi.com/u/justthismorning)\
**Post date:** [June 5, 2017, 1:52pm UTC](https://forums.bitovi.com/t/add-array-to-route-data/656/1 "2017-06-05T13:52:34Z")

</div>

If I add an array to route data, I get open/close square brackets (escaped) in the url

example:  
`route.data.arr =["one", "two"]`

changes the route data to:  
`?arr%5B%5D=one&arr%5B%5D=two`

how can I do this properly so those square brackets are omitted and the url looks like the following?  
`?arr=one&arr=two`
