Usually, you will edit a field’s value or its name in Studio 3T directly in-place in your tree or table view.

However, in cases where you would like to edit a document’s JSON source code directly, Studio 3T also provides an excellent JSON editor for you.

In your tree or table view, right-click on any of your document’s fields and choose “Edit JSON…” from the context menu.

Right-click on a field while in Table and Tree View to edit a JSON document

This will open the JSON editor for your document. Of course, Studio 3T supports all MongoDB data types (DBRef, Code with Scope, Timestamps, binary data, etc.) in JSON.

What about complex, nested arrays and embedded objects? Or complex data structures in the scope part of a Code with Scope field or as the id value of a DBRef? You betcha! Studio 3T provides lossless JSON editing for your MongoDB documents.

Edit JSON directly in Studio 3T - and validate your code, too!

At any time, you can click “Validate JSON” to make sure your current input is indeed valid. If you have an error in your JSON, Studio 3T will point to the position where the error was detected and set the cursor afterwards to that position. After you’ve corrected your JSON code, you can validate it again, and you’ll see a quick confirmation:

Finally, click “Update” to update your document in its collection. That’s it! 

For other tips – like how to copy and paste collections in a flash and query MongoDB with SQL – and the latest updates, feel free to check out our What’s New section. And download our MongoDB GUI, in case you haven’t yet.

Try Studio 3T
Get Download Link for Later