Tcl Library Source Code

Ticket Change Details
Login
Overview

Artifact ID: 95546ce5cad3adffadd117c35ac7f223af6d2601
Ticket: 52b764e4dd9a4e9b939bc228379e47fbc758ca3a
json2dict incorrectly adds braces to strings starting with $
User & Date: anonymous 2015-01-22 17:02:43
Changes

  1. assignee changed to: "nobody"
  2. closer changed to: "nobody"
  3. cmimetype changed to: "text/plain"
  4. comment changed to:
    json2dict turns an array into a nested list when one item starts with $. $ should not have special meaning in JSON, so I am not sure what happens here. Steps to reproduce:
    
    30 % set var [json::write string \$::x ]
    "$::x"
    31 % set json [json::write array \"length\" $var]
    ["length","$::x"]
    32 % set dict [json::json2dict $json]
    length {$::x}
    
  5. foundin changed to: "json::write 1.0.3, json 1.3.3"
  6. is_private changed to: "0"
  7. login: "anonymous"
  8. priority changed to: "5 Medium"
  9. private_contact changed to: "5cb1225ab872b6d12e7ab3a1e9a1fd2e3fa22e82"
  10. resolution changed to: "None"
  11. severity changed to: "Important"
  12. status changed to: "Open"
  13. submitter changed to: "anonymous"
  14. subsystem changed to: "json"
  15. title changed to:
    json2dict incorrectly adds braces to strings starting with $
    
  16. type changed to: "Bug"