support construction from other basic_json types
Before this patch, `basic_json` types with different template arguments were treated as `CompatibleArrayType`. Which sometimes leads to recursive calls and stack overflows. This patch adds a constructor and a `get` overload to deal with different `basic_json` types.
T
Théo DELRIEU committed
8711ec603445698f0a02eb78c053625bc48facbe
Parent: c22f2d4