Changes between Initial Version and Version 1 of Ticket #8474
- Timestamp:
- 2013-02-27T16:15:20+01:00 (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #8474 – Description
initial v1 2 2 3 3 1. It does escape double quote with two slashes. This only makes sense if the GeoJSON code is inlined in JavaScript, as two escaping mechanisms are needed. 4 2. It does not escape all characters required by RFC 46274 1. It does not escape all characters required by RFC 4627 5 5 6 I suggest using either json-simple's JSONValue#escape method [1] (Apache license) or to adapt gson's sring method [2] (Apache license) 6 I suggest using either json-simple's JSONValue#escape method ![1] (Apache license) or to adapt gson's sring method ![2] (Apache license) 7 7 8 [1] https://code.google.com/p/json-simple/source/browse/trunk/src/main/java/org/json/simple/JSONValue.java 9 [2] https://code.google.com/searchframe#1W0hTXRl0vg/trunk/gson/src/main/java/com/google/gson/stream/JsonWriter.java&l=532 8 ![1] https://code.google.com/p/json-simple/source/browse/trunk/src/main/java/org/json/simple/JSONValue.java 9 ![2] https://code.google.com/searchframe#1W0hTXRl0vg/trunk/gson/src/main/java/com/google/gson/stream/JsonWriter.java&l=532 10 10 11 11


