diff --git a/doc/examples/get__PointerType.cpp b/doc/examples/get__PointerType.cpp
index e4dcec62..ed77d7b0 100644
--- a/doc/examples/get__PointerType.cpp
+++ b/doc/examples/get__PointerType.cpp
@@ -4,7 +4,7 @@ using namespace nlohmann;
 
 int main()
 {
-    // create a JSON boolean
+    // create a JSON number
     json value = 17;
 
     // explicitly getting pointers
diff --git a/doc/examples/get_ptr.cpp b/doc/examples/get_ptr.cpp
index ddbdfc00..2a3d974a 100644
--- a/doc/examples/get_ptr.cpp
+++ b/doc/examples/get_ptr.cpp
@@ -4,7 +4,7 @@ using namespace nlohmann;
 
 int main()
 {
-    // create a JSON boolean
+    // create a JSON number
     json value = 17;
 
     // explicitly getting pointers
diff --git a/doc/examples/object.cpp b/doc/examples/object.cpp
index b9198a57..a4f9b4a2 100644
--- a/doc/examples/object.cpp
+++ b/doc/examples/object.cpp
@@ -4,13 +4,13 @@ using namespace nlohmann;
 
 int main()
 {
-    // create JSON arrays
+    // create JSON objects
     json j_no_init_list = json::object();
     json j_empty_init_list = json::object({});
     json j_list_of_pairs = json::object({ {"one", 1}, {"two", 2} });
     //json j_invalid_list = json::object({ "one", 1 }); // would throw
 
-    // serialize the JSON arrays
+    // serialize the JSON objects
     std::cout << j_no_init_list << '\n';
     std::cout << j_empty_init_list << '\n';
     std::cout << j_list_of_pairs << '\n';