Ok then
proc deserialize[T](filename: string): ref T =
new(result)
result[] = readFile(filename).to[:T]
let obj = spawn deserialize[A]("my_file.json")
Run
- Return complex type from thread readysloth
- Re: Return complex type from thread Araq
- Re: Return complex type from thread readysloth
- Re: Return complex type from thread dawkot
- Re: Return complex type from thread readysloth
- Re: Return complex type from thread Hlaaftana
- Re: Return complex type from thread readysloth
