In this tutorial, we show you 4 ways to insert below JSON data into a “document“, via Java MongoDB API.