diff --git a/reference/mongodb/bson/binary.xml b/reference/mongodb/bson/binary.xml
index d81da420af..575ad8e0be 100644
--- a/reference/mongodb/bson/binary.xml
+++ b/reference/mongodb/bson/binary.xml
@@ -37,6 +37,10 @@
Serializable
+
+
+ JsonSerializable
+
Constants
@@ -164,7 +168,8 @@
1.2.0
- Implements Serializable.
+ Implements Serializable and
+ JsonSerializable.
diff --git a/reference/mongodb/bson/binary/jsonserialize.xml b/reference/mongodb/bson/binary/jsonserialize.xml
new file mode 100644
index 0000000000..d9a5f8b419
--- /dev/null
+++ b/reference/mongodb/bson/binary/jsonserialize.xml
@@ -0,0 +1,71 @@
+
+
+
+
+
+ MongoDB\BSON\Binary::jsonSerialize
+ Returns a representation that can be converted to JSON
+
+
+
+ &reftitle.description;
+
+ final public mixedMongoDB\BSON\Binary::jsonSerialize
+
+
+
+
+
+
+
+ &reftitle.parameters;
+ &no.function.parameters;
+
+
+
+ &reftitle.returnvalues;
+
+ Returns data which can be serialized by json_encode to
+ produce the extended
+ JSON representation of the MongoDB\BSON\Binary.
+
+
+
+
+ &reftitle.errors;
+
+ &mongodb.throws.argumentparsing;
+
+
+
+
+ &reftitle.seealso;
+
+ JsonSerializable::jsonSerialize
+ json_encode
+ MongoDB Extended JSON
+
+
+
+
+
+
diff --git a/reference/mongodb/bson/decimal128.xml b/reference/mongodb/bson/decimal128.xml
index 33188b03a7..80d23a5335 100644
--- a/reference/mongodb/bson/decimal128.xml
+++ b/reference/mongodb/bson/decimal128.xml
@@ -48,6 +48,10 @@
Serializable
+
+
+ JsonSerializable
+
@@ -73,7 +77,8 @@
1.2.0
- Implements Serializable.
+ Implements Serializable and
+ JsonSerializable.
diff --git a/reference/mongodb/bson/decimal128/jsonserialize.xml b/reference/mongodb/bson/decimal128/jsonserialize.xml
new file mode 100644
index 0000000000..84ae8255ce
--- /dev/null
+++ b/reference/mongodb/bson/decimal128/jsonserialize.xml
@@ -0,0 +1,72 @@
+
+
+
+
+
+ MongoDB\BSON\Decimal128::jsonSerialize
+ Returns a representation that can be converted to JSON
+
+
+
+ &reftitle.description;
+
+ final public mixedMongoDB\BSON\Decimal128::jsonSerialize
+
+
+
+
+
+
+
+ &reftitle.parameters;
+ &no.function.parameters;
+
+
+
+ &reftitle.returnvalues;
+
+ Returns data which can be serialized by json_encode to
+ produce the extended
+ JSON representation of the
+ MongoDB\BSON\Decimal128.
+
+
+
+
+ &reftitle.errors;
+
+ &mongodb.throws.argumentparsing;
+
+
+
+
+ &reftitle.seealso;
+
+ JsonSerializable::jsonSerialize
+ json_encode
+ MongoDB Extended JSON
+
+
+
+
+
+
diff --git a/reference/mongodb/bson/javascript.xml b/reference/mongodb/bson/javascript.xml
index 5a5bed55f3..3418d58230 100644
--- a/reference/mongodb/bson/javascript.xml
+++ b/reference/mongodb/bson/javascript.xml
@@ -37,6 +37,10 @@
Serializable
+
+
+ JsonSerializable
+
@@ -62,7 +66,8 @@
1.2.0
- Implements Serializable.
+ Implements Serializable and
+ JsonSerializable.
diff --git a/reference/mongodb/bson/javascript/jsonserialize.xml b/reference/mongodb/bson/javascript/jsonserialize.xml
new file mode 100644
index 0000000000..48aad77097
--- /dev/null
+++ b/reference/mongodb/bson/javascript/jsonserialize.xml
@@ -0,0 +1,72 @@
+
+
+
+
+
+ MongoDB\BSON\Javascript::jsonSerialize
+ Returns a representation that can be converted to JSON
+
+
+
+ &reftitle.description;
+
+ final public mixedMongoDB\BSON\Javascript::jsonSerialize
+
+
+
+
+
+
+
+ &reftitle.parameters;
+ &no.function.parameters;
+
+
+
+ &reftitle.returnvalues;
+
+ Returns data which can be serialized by json_encode to
+ produce the extended
+ JSON representation of the
+ MongoDB\BSON\Javascript.
+
+
+
+
+ &reftitle.errors;
+
+ &mongodb.throws.argumentparsing;
+
+
+
+
+ &reftitle.seealso;
+
+ JsonSerializable::jsonSerialize
+ json_encode
+ MongoDB Extended JSON
+
+
+
+
+
+
diff --git a/reference/mongodb/bson/maxkey.xml b/reference/mongodb/bson/maxkey.xml
index e9b7eb4265..624752a78d 100644
--- a/reference/mongodb/bson/maxkey.xml
+++ b/reference/mongodb/bson/maxkey.xml
@@ -37,6 +37,10 @@
Serializable
+
+
+ JsonSerializable
+
@@ -62,7 +66,8 @@
1.2.0
- Implements Serializable.
+ Implements Serializable and
+ JsonSerializable.
diff --git a/reference/mongodb/bson/maxkey/jsonserialize.xml b/reference/mongodb/bson/maxkey/jsonserialize.xml
new file mode 100644
index 0000000000..cc68422f43
--- /dev/null
+++ b/reference/mongodb/bson/maxkey/jsonserialize.xml
@@ -0,0 +1,71 @@
+
+
+
+
+
+ MongoDB\BSON\MaxKey::jsonSerialize
+ Returns a representation that can be converted to JSON
+
+
+
+ &reftitle.description;
+
+ final public mixedMongoDB\BSON\MaxKey::jsonSerialize
+
+
+
+
+
+
+
+ &reftitle.parameters;
+ &no.function.parameters;
+
+
+
+ &reftitle.returnvalues;
+
+ Returns data which can be serialized by json_encode to
+ produce the extended
+ JSON representation of the MongoDB\BSON\MaxKey.
+
+
+
+
+ &reftitle.errors;
+
+ &mongodb.throws.argumentparsing;
+
+
+
+
+ &reftitle.seealso;
+
+ JsonSerializable::jsonSerialize
+ json_encode
+ MongoDB Extended JSON
+
+
+
+
+
+
diff --git a/reference/mongodb/bson/minkey.xml b/reference/mongodb/bson/minkey.xml
index a84dd3324b..8a9234ca73 100644
--- a/reference/mongodb/bson/minkey.xml
+++ b/reference/mongodb/bson/minkey.xml
@@ -37,6 +37,10 @@
Serializable
+
+
+ JsonSerializable
+
@@ -62,7 +66,8 @@
1.2.0
- Implements Serializable.
+ Implements Serializable and
+ JsonSerializable.
diff --git a/reference/mongodb/bson/minkey/jsonserialize.xml b/reference/mongodb/bson/minkey/jsonserialize.xml
new file mode 100644
index 0000000000..e37170fd68
--- /dev/null
+++ b/reference/mongodb/bson/minkey/jsonserialize.xml
@@ -0,0 +1,71 @@
+
+
+
+
+
+ MongoDB\BSON\MinKey::jsonSerialize
+ Returns a representation that can be converted to JSON
+
+
+
+ &reftitle.description;
+
+ final public mixedMongoDB\BSON\MinKey::jsonSerialize
+
+
+
+
+
+
+
+ &reftitle.parameters;
+ &no.function.parameters;
+
+
+
+ &reftitle.returnvalues;
+
+ Returns data which can be serialized by json_encode to
+ produce the extended
+ JSON representation of the MongoDB\BSON\MinKey.
+
+
+
+
+ &reftitle.errors;
+
+ &mongodb.throws.argumentparsing;
+
+
+
+
+ &reftitle.seealso;
+
+ JsonSerializable::jsonSerialize
+ json_encode
+ MongoDB Extended JSON
+
+
+
+
+
+
diff --git a/reference/mongodb/bson/objectid.xml b/reference/mongodb/bson/objectid.xml
index d93b06a3c3..88bdedfe8e 100644
--- a/reference/mongodb/bson/objectid.xml
+++ b/reference/mongodb/bson/objectid.xml
@@ -37,6 +37,10 @@
Serializable
+
+
+ JsonSerializable
+
@@ -62,7 +66,8 @@
1.2.0
- Implements Serializable.
+ Implements Serializable and
+ JsonSerializable.
diff --git a/reference/mongodb/bson/objectid/jsonserialize.xml b/reference/mongodb/bson/objectid/jsonserialize.xml
new file mode 100644
index 0000000000..54c803d54d
--- /dev/null
+++ b/reference/mongodb/bson/objectid/jsonserialize.xml
@@ -0,0 +1,72 @@
+
+
+
+
+
+ MongoDB\BSON\ObjectID::jsonSerialize
+ Returns a representation that can be converted to JSON
+
+
+
+ &reftitle.description;
+
+ final public mixedMongoDB\BSON\ObjectID::jsonSerialize
+
+
+
+
+
+
+
+ &reftitle.parameters;
+ &no.function.parameters;
+
+
+
+ &reftitle.returnvalues;
+
+ Returns data which can be serialized by json_encode to
+ produce the extended
+ JSON representation of the
+ MongoDB\BSON\ObjectID.
+
+
+
+
+ &reftitle.errors;
+
+ &mongodb.throws.argumentparsing;
+
+
+
+
+ &reftitle.seealso;
+
+ JsonSerializable::jsonSerialize
+ json_encode
+ MongoDB Extended JSON
+
+
+
+
+
+
diff --git a/reference/mongodb/bson/regex.xml b/reference/mongodb/bson/regex.xml
index 363aff25fc..e56bde1eb1 100644
--- a/reference/mongodb/bson/regex.xml
+++ b/reference/mongodb/bson/regex.xml
@@ -37,6 +37,10 @@
Serializable
+
+
+ JsonSerializable
+
@@ -62,7 +66,8 @@
1.2.0
- Implements Serializable.
+ Implements Serializable and
+ JsonSerializable.
diff --git a/reference/mongodb/bson/regex/jsonserialize.xml b/reference/mongodb/bson/regex/jsonserialize.xml
new file mode 100644
index 0000000000..6da8e42473
--- /dev/null
+++ b/reference/mongodb/bson/regex/jsonserialize.xml
@@ -0,0 +1,71 @@
+
+
+
+
+
+ MongoDB\BSON\Regex::jsonSerialize
+ Returns a representation that can be converted to JSON
+
+
+
+ &reftitle.description;
+
+ final public mixedMongoDB\BSON\Regex::jsonSerialize
+
+
+
+
+
+
+
+ &reftitle.parameters;
+ &no.function.parameters;
+
+
+
+ &reftitle.returnvalues;
+
+ Returns data which can be serialized by json_encode to
+ produce the extended
+ JSON representation of the MongoDB\BSON\Regex.
+
+
+
+
+ &reftitle.errors;
+
+ &mongodb.throws.argumentparsing;
+
+
+
+
+ &reftitle.seealso;
+
+ JsonSerializable::jsonSerialize
+ json_encode
+ MongoDB Extended JSON
+
+
+
+
+
+
diff --git a/reference/mongodb/bson/timestamp.xml b/reference/mongodb/bson/timestamp.xml
index d95f6952e7..aa4672009d 100644
--- a/reference/mongodb/bson/timestamp.xml
+++ b/reference/mongodb/bson/timestamp.xml
@@ -39,6 +39,10 @@
Serializable
+
+
+ JsonSerializable
+
@@ -64,7 +68,8 @@
1.2.0
- Implements Serializable.
+ Implements Serializable and
+ JsonSerializable.
diff --git a/reference/mongodb/bson/timestamp/jsonserialize.xml b/reference/mongodb/bson/timestamp/jsonserialize.xml
new file mode 100644
index 0000000000..e92177c815
--- /dev/null
+++ b/reference/mongodb/bson/timestamp/jsonserialize.xml
@@ -0,0 +1,72 @@
+
+
+
+
+
+ MongoDB\BSON\Timestamp::jsonSerialize
+ Returns a representation that can be converted to JSON
+
+
+
+ &reftitle.description;
+
+ final public mixedMongoDB\BSON\Timestamp::jsonSerialize
+
+
+
+
+
+
+
+ &reftitle.parameters;
+ &no.function.parameters;
+
+
+
+ &reftitle.returnvalues;
+
+ Returns data which can be serialized by json_encode to
+ produce the extended
+ JSON representation of the
+ MongoDB\BSON\Timestamp.
+
+
+
+
+ &reftitle.errors;
+
+ &mongodb.throws.argumentparsing;
+
+
+
+
+ &reftitle.seealso;
+
+ JsonSerializable::jsonSerialize
+ json_encode
+ MongoDB Extended JSON
+
+
+
+
+
+
diff --git a/reference/mongodb/bson/utcdatetime.xml b/reference/mongodb/bson/utcdatetime.xml
index 3149b6b4ea..2f39f172d8 100644
--- a/reference/mongodb/bson/utcdatetime.xml
+++ b/reference/mongodb/bson/utcdatetime.xml
@@ -38,6 +38,10 @@
Serializable
+
+
+ JsonSerializable
+
@@ -63,7 +67,8 @@
1.2.0
- Implements Serializable.
+ Implements Serializable and
+ JsonSerializable.
diff --git a/reference/mongodb/bson/utcdatetime/jsonserialize.xml b/reference/mongodb/bson/utcdatetime/jsonserialize.xml
new file mode 100644
index 0000000000..9df8a717ef
--- /dev/null
+++ b/reference/mongodb/bson/utcdatetime/jsonserialize.xml
@@ -0,0 +1,72 @@
+
+
+
+
+
+ MongoDB\BSON\UTCDateTime::jsonSerialize
+ Returns a representation that can be converted to JSON
+
+
+
+ &reftitle.description;
+
+ final public mixedMongoDB\BSON\UTCDateTime::jsonSerialize
+
+
+
+
+
+
+
+ &reftitle.parameters;
+ &no.function.parameters;
+
+
+
+ &reftitle.returnvalues;
+
+ Returns data which can be serialized by json_encode to
+ produce the extended
+ JSON representation of the
+ MongoDB\BSON\UTCDateTime.
+
+
+
+
+ &reftitle.errors;
+
+ &mongodb.throws.argumentparsing;
+
+
+
+
+ &reftitle.seealso;
+
+ JsonSerializable::jsonSerialize
+ json_encode
+ MongoDB Extended JSON
+
+
+
+
+
+
diff --git a/reference/mongodb/versions.xml b/reference/mongodb/versions.xml
index 6090b4dec3..2b2a6d226d 100644
--- a/reference/mongodb/versions.xml
+++ b/reference/mongodb/versions.xml
@@ -135,12 +135,14 @@
+
+
@@ -149,16 +151,19 @@
+
+
+
@@ -166,6 +171,7 @@
+
@@ -174,18 +180,21 @@
+
+
+