Closed
Description
Provide templated functions:
bool Value::Is<int>() const;
int Value::Get<int>() const;
...
These functions are useful when the user code has templated types.
A difficulty is that current RapidJSON does not provide adapter classes for array and object. As @pah suggested in #162 (comment), we can add some class like that. So we can also have Array Value::GetArray()
and Array Get<Array>()
, etc.
I create this issue for replacing #153.