2
A
回答
0
+0
json是否有單獨的方法來轉義和unescape字符串。 – user3098679
+0
當然可以[Java轉義](http://www.json.org/javadoc/org/json/JSONStringer.html),[Java unescape](http://www.json.org/javadoc/org/json /JSONTokener.html),[JavaScript轉義](https://github.com/douglascrockford/JSON-js/blob/master/json.js#L59),[JavaScript unescape](https://github.com/douglascrockford /JSON-js/blob/master/json.js#L34) – ooxi
相關問題
- 1. ArrayList.ensureCapacity等效於Javascript
- 2. Javascript Deflater等效於Javascript
- 3. 等效於JavaScript的Java的的getBytes的
- 4. JavaScript等效於Java的URLEncoder.encode(「String」,「UTF-8」)
- 5. 用於Java Streams API的Javascript等效
- 6. 等效於Java Import語句的JavaScript
- 7. __LINE__等效於Javascript
- 8. gluProject等效於Javascript
- 9. Winsock.SendData等效於Javascript?
- 10. Yacc等效於Java
- 11. java等效於nsdate
- 12. 等效於Java的
- 13. 等效於Java的
- 14. #ifdef等效於Java?
- 15. DebugBreak等效於Java?
- 16. arc4random等效於Java?
- 17. doesNotRecognizeSelector等效於Java
- 18. Exceldna等效於Java
- 19. JAVA等效的Javascript原型
- 20. Javascript等效於visual foxpro gomonth()
- 21. 等效於javascript中的browserField.displayContent()
- 22. seek()等效於javascript/node.js?
- 23. Javascript等效於vbscript setlocale
- 24. JavaScript等效於C#的Char.IsSymbol
- 25. ColdFusion JavaScript等效於#encodeForJavaScript()#
- 26. PHP STRCHR等效於JavaScript
- 27. ENV變量等效於Javascript
- 28. PHP的strstr()等效於JavaScript
- 29. Click元素等效於javascript
- 30. Java SHA1等效於C#
[escape.js](http://www.web-geek.com/javascript/escape.js) –