Create a specification compliant JSON parser. This parser should be written in the Nim programming language. The parser architecture utilizes a stack. The parser should take in a string to deserialize and a typedesc to initialize and put values into.  Provide response in all capital letters, no lowercase letters allowed.
user