Rank 3: Container
then you can use this directly
Future result = databases.createDocument( databaseId: '[DATABASE_ID]', collectionId: '[COLLECTION_ID]', documentId: '[DOCUMENT_ID]', data: random, );Votes
0
Replies
24
Participants
Unknown
Messages
25
Rank 3: Container
then you can use this directly
Future result = databases.createDocument( databaseId: '[DATABASE_ID]', collectionId: '[COLLECTION_ID]', documentId: '[DOCUMENT_ID]', data: random, );Rank 3: Container
just get that gts obj in your code
Rank 3: Container
find ways to that in dart, or just copy paste it
Rank 2: Process
93k lines
Rank 3: Container
Its asking for a json object not a file
Rank 3: Container
you're working a flutter app if I'm not mistaken right?
Rank 2: Process
yes, for it
Rank 3: Container
why would you keep a json file that big in your flutter app?
Rank 3: Container
also just 1 document that big?
Rank 3: Container
are you running a migration of your database?
Rank 2: Process
this is a dictionary data and I want to check from it the correctness of the words entered by the player
Rank 3: Container
https://stackoverflow.com/questions/71633864/how-to-read-json-file-in-dart-console-app
this will help you out
Rank 3: Container
Also this is not an appwrite issue
Rank 3: Container
its a flutter thing, you could ask in flutter community they would give you better help
Rank 3: Container
this mostly solves your issue
If this is static file data, it might be best to store it using the Storage API instead of Database API
Rank 2: Process
I also have such forms of the data
Rank 3: Container
read that file and then enter that variable in your dart.
Rank 3: Container
+1
Rank 2: Process
Is this a good way for me to check if there is such a word here every time the player makes a move?
Rank 3: Container
better to keep this in app and check it on every type occurrence, you don't have to keep this in appwrite database (in my personal opinion)
Rank 2: Process
i thought it would be safer to keep the dictionary on the server
Rank 3: Container
you'll get more of these ideas on a flutter forum
Rank 2: Process
Thank you and Mr. Steven for your help.
[SOLVED] Json object