Delphi json reader example. Type indicates the type of the token.