collection::toJson
Converts the current object into a json string
collection::toJson()
Return values
string