mirror of
https://github.com/pocoproject/poco.git
synced 2024-12-13 10:32:57 +01:00
Implement toString
This commit is contained in:
parent
8fddacd451
commit
c2dbb70b0b
@ -58,6 +58,8 @@ public:
|
||||
virtual ~Array();
|
||||
/// Destructor
|
||||
|
||||
|
||||
std::string toString() const;
|
||||
};
|
||||
|
||||
// BSON Embedded Array
|
||||
@ -70,7 +72,7 @@ struct ElementTraits<Array::Ptr>
|
||||
static std::string toString(const Array::Ptr& value)
|
||||
{
|
||||
//TODO:
|
||||
return value.isNull() ? "null" : "[]";
|
||||
return value.isNull() ? "null" : value->toString();
|
||||
}
|
||||
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user