GSON默認是開啓html編碼的, 方法註釋是這麼寫的:
By default, Gson escapes HTML characters such as < > etc. Use this option to configure Gson to pass-through HTML characters as is.
- Returns:
- a reference to this
GsonBuilder
object to fulfill the "Builder" pattern- Since:
- 1.3
- 看起來很好, 可你爲什麼要把=號也編碼了????
- http://xxxxx/jeeplus/device/face_image?userkey\u003d27
- 原來是:
- http://xxxxx/jeeplus/device/face_image?userkey=31
- 坑你爹啊, 坑你爹一週啊!