javascript urlencode json
snippet in javascript

javascript urlencode json

user9929

//url encode json
encodeURIComponent(JSON.stringify(object_to_be_serialised))