Extended JSON (EJSON) is a human-readable, machine-parsable extension of standard JSON that represents MongoDB data types such as dates, binary data, and ObjectIds. Stream processors accept EJSON when receiving continuous document streams. section 15.5.1 section 15.9
Streaming database documents
A $source aggregation stage can receive documents from a Kafka topic, MongoDB change stream, or document array when those documents use valid JSON or EJSON. EJSON preserves richer database values that ordinary JSON cannot represent. section 15.5.1 section 15.9
