IT WORKS! For to json* (for some values of to json)
IT WORKS! For to json* (for some values of to json)

Also:
classInfo[0][offset + 1] != L'\0'
to
classInfo[0][offset + 1] == L'\0'

How long has that bug been there???
Why did it work at all???
I understand why it's a bug.
But I don't get how it was working all this time with that in there.
Jesterhearts/TemplateJSON,Jesterhearts/TemplateJSON