As already suggested, the incremental upgrade procedure is the one strongly recommended.
Just to add some more info: it is possible to use mongoexport and mongoimport to perfom the upgrade skipping major versions, but it’s not recommended.
The solution is similar to mongodump / mongorestore but instead of using binary files (BSON), you are using plain text JSON files.
It’s lot slower than mongodump / mongorestore and you are not saving the metadata so you will have to recreate the indexes manually. Mongodump/mongorestore is faster and it’s supposed to work only from a major versione to the next one.