Hi Neophytos,
I have tried the following on my test vanilla instance:
set fp [open "/tmp/spec3.json" r]
set data [read $fp]
close $fp
lappend results [time {dom parse -json $data test} 1] [$test asJSON]
And the result was:
{23639 microseconds per iteration} {{"components":{"schemas":... (truncated)
The problem was the double quotes in
"dom parse -json $data test"
the $data JSON is expanded into the command string and won't be valid anymore.
Ciao
Antonio