MongoDB\BSON\toJSON

  • (mongodb >=1.0.0)
  • Returns the JSON representation of a BSON value