Search code examples
androidjsondictionarylibgdx

LibGDX I want to write a dictionary app with 100,000 english words. Can I use JSON?


I want to write a dictionary app with 100,000 english to english words. My dictionary has some special function, you can "tick" the checkbox in the app and store your understanding words in the same dictionary file e.g. JSON.

So, my question is I need a file to read and write the 100,000 words with the ability to store the status of words. Is JSON a suitable choice to read and wirte 100,000 pair of words?

If the file is too large, I think I need to split the 100,000 words into 100 files (1000 pair of words per file). Is it good idea?

Thanks!


Solution

  • SQLite seems like a good choice for your scenario.