JSON_Spirit: mapping value.type() back to the type?

Posted by Mark Harrison on Stack Overflow See other posts from Stack Overflow or by Mark Harrison
Published on 2010-04-22T00:49:22Z Indexed on 2010/04/22 0:53 UTC
Read the original article Hit count: 281

Filed under:
|
|

You can display a Value's type like this:

cout << val.type() << end;

and it print a number.

How can I map this number back to the actual type?

© Stack Overflow or respective owner

Related posts about JSON

Related posts about c++