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

Popular posts from this blog

ios - RestKit 0.20 — CoreData: error: Failed to call designated initializer on NSManagedObject class (again) -

java - Digest auth with Spring Security using javaconfig -

laravel - PDOException in Connector.php line 55: SQLSTATE[HY000] [1045] Access denied for user 'root'@'localhost' (using password: YES) -