store url in json escape characters javascript code example
Example: javascript urlencode json
//url encode json
encodeURIComponent(JSON.stringify(object_to_be_serialised))
//url encode json
encodeURIComponent(JSON.stringify(object_to_be_serialised))