Hello Artyom
I think that boost::variant type fits exactly as base class for
cppcms::json::value.
I think that one pro of this approach is that boost::variant interface
is more familiar and has good visitor interface.
You think about that?
This break your ABI requirerements?
Another question. You define json::object as std::map, which it has
O(log n) complexity for access
Why you don't use boost::unordered_map which it has O(n) complexity?
Thank you!
|