decodeURIComponentは'+'をデコードしない
JSON.parseでエラーが出て、はまったのでメモ
解決法
code:js
strvar = strvar.replace(/\+\g,'%20');
をはさむ
参考
#JavaScript
#プログラミング