Tcl Library Source Code

View Ticket
Login
Ticket UUID: 57ee1f3e1d104431d4677697e9fea8f69300f40b
Title: yaml2dict loses contents when values contain braces
Type: Bug Version: yaml 0.4.2
Submitter: anonymous Created on: 2024-11-19 10:29:01
Subsystem: yaml Assigned To: nobody
Priority: 5 Medium Severity: Minor
Status: Open Last Modified: 2024-11-19 10:29:01
Resolution: None Closed By: nobody
    Closed on:
Description:
yaml2dict converts the value {val} wrongly to {}

code example:
set d [dict create k "{val}"]
set e [::yaml::yaml2dict [::yaml::dict2yaml $d]]
=> result: k {}
expected: k {{val}}