javascript - Characters in other forms -
im pretty sure has been asked before not know how phrase it. mods, maybe can collapse questions once compatible answer has been found?
i have node.js server , send url read or write json data. node.js url parser seems characters "?" "#" , "&" reserved while in json.parse/stringify side """ , "'" reserved well.
how can work around this? kind of song data , these characters can , come in title names.
tia
niko
update:
i forgot mention turned out crucial: in node side using url , querystring modules have own logic manipulating url.
due url , querystring modules using in node parse url according own logic have opted treat query part of url stringified json. have end-to-end control on application , make sure url send has stringified json query part of url.
Comments
Post a Comment