#Best database for JSON storage in Java?

16 messages · Page 1 of 1 (latest)

austere nova
#

I'm currently looking for a database that mainly focuses on JSON which i can use with Java. I'm working very well with JSON due to my experiences with API wrappers, and i want to implement my knowledge in a Discord bot which stores data in JSON format. Are there any tipps?

ember fractal
#

yup, I think mongodb is what you're searching for

#

it uses bson tho, but that's basically json with extra steps

bold jolt
#

I'm going to be a contrarian and say that you don't generally need mongoDB for storing JSON since you can just save the json to files, and then you don't need all the extra complexity

#

unless you're doing something that will be used by hundreds/thousands of people

onyx ivy
noble leaf
#

it has extra types

#

e.g. it natively represents UUIDs

onyx ivy
#

What does that change for bson?

#

nothing

#

because those extra types are for mongoDB, not bson

noble leaf
#

they're represented in bson

#

mongodb uses bson

#

bson has more types for wider use cases