在Javascript中阅读Json斜杠

时间:2015-09-20 02:00:58

标签: javascript json

我正在通过javascript阅读JSON文件。由于正斜杠,我无法获得 today / _text 。我可以通过{{hours.results[0].today}}成功获得今天。我如何获得today/_text?我试过了:

today\/_text

today/\_text

today//_text

today\\/_text

 {"offset":0,"results":[{"today/_text":"Today:YES","today/_source":"/hours/1","today":"2,3,4"}]}

0 个答案:

没有答案