Note: This website is archived. For up-to-date information about D projects and development, please visit wiki.dlang.org.

Ticket #1 (closed defect: fixed)

Opened 11 years ago

Last modified 11 years ago

JSONObject doesn't properly unescape \/

Reported by: Nietsnie Assigned to: aaronc542
Priority: major Milestone:
Component: component1 Version:
Keywords: Cc:

Description

If there's a json string with \/ you get back, \/ instead of / when using getString() with JSONObject.

Quick fix to this is do use tango.text.Util.substitute and just use v = substitute(p.value, "\\/", "/"); in parseValue of JsonObject?.d

Change History

05/13/08 17:42:40 changed by aaronc542

  • status changed from new to assigned.
  • owner changed from somebody to aaronc542.

05/19/08 16:49:38 changed by aaronc542

  • status changed from assigned to closed.
  • resolution set to fixed.