Clojure-Contrib

c.c.json/json-str handles maps with keys containing quotes incorrectly

Details

  • Type: Defect Defect
  • Status: Resolved Resolved
  • Resolution: Completed
  • Affects Version/s: None
  • Fix Version/s: None
  • Component/s: None
  • Labels:
    None
  • Patch:
    Code and Test

Description

Consider:

> (println (json-str {"\"" 1})) 
{""":1} 
</code></pre>

...while I (and my parsers) would expect <pre><code>{"\"":1}
.

This happens in both contrib 1.2.0 and 1.3-alpha1.

Activity

People

Vote (0)
Watch (1)

Dates

  • Created:
    Updated:
    Resolved: