Tcl Library Source Code

View Ticket
Login
Ticket UUID: bfb02104675583748150476ff373e45dae8c00cd
Title: json2dict not documented and has dead code
Type: RFE Version: main
Submitter: oehhar Created on: 2025-10-29 16:06:31
Subsystem: json Assigned To: nobody
Priority: 5 Medium Severity: Minor
Status: Open Last Modified: 2025-10-29 16:06:31
Resolution: None Closed By: nobody
    Closed on:
Description:
json::dict2json has the following disabled code:
[https://core.tcl-lang.org/tcllib/file?udc=1&ln=on&ci=tip&name=modules%2Fjson%2Fjson.tcl&ln=263-266]

The function is not documented and leads people IMHO on the wrong path.
One should use json::write.

May we remove the dead code or the function all together ?

Take care,
Harald