Overview
| Artifact ID: | 874415a7ea2c453438c0bd8c76396d805b790d25 |
|---|---|
| Ticket: | da16fbe4a036aa7dae24585478682fdc6265d68c
Add comnand "info type" to Tcl language |
| User & Date: | anonymous on 2015-04-16 01:28:44 |
Changes
- assignee changed to: "nobody"
- closer changed to: "nobody"
- cmimetype changed to: "text/plain"
- comment changed to:
Add a command to know the internal representation of a Tcl Object: list, dict, string, ... It's possible to do this using: ::tcl::unsupported::representation But it's only for debugging purposes and it's human readable. It would be nice a command like this "info type" that returns a concise string indicating the internal representation of a Tcl Object. One application of this new command is to transform Tcl objects to json in a robust way (without using ::tcl::unsupported::representation) as explained in this URL: http://stackoverflow.com/questions/7428032/determine-type-of-a-variable-in-tcl The source code of tcl2json is here: http://rosettacode.org/wiki/JSON#Tcl - foundin changed to: "8.6"
- is_private changed to: "0"
- login: "anonymous"
- priority changed to: "5 Medium"
- private_contact changed to: "1c4b6cdb98c9dfc4d1e74018f3f4efa00ad217e2"
- resolution changed to: "None"
- severity changed to: "Minor"
- status changed to: "Open"
- submitter changed to: "anonymous"
- subsystem changed to: "- New Builtin Commands"
- title changed to: "Add comnand "info type" to Tcl language"
- type changed to: "Bug"