module BSON::ObjectId::StringConverter
Overview
This converter can be used to serialize the ObjectId to a String value.
@[JSON::Field(converter: BSON::ObjectId::StringConverter)]
property _id : BSON::ObjectId
Defined in:
bson/object_id.crClass Method Summary
- .from_json(pull : JSON::PullParser) : BSON::ObjectId
- .to_json(value : BSON::ObjectId, builder : JSON::Builder)