How do I load English Dictionary Json file to Array

0 favourites
  • 3 posts
From the Asset Store
Source File, music and art pack for Android Negotiator
  • Hi guys ,

    I'm trying to load my English Dictionary Json file to my array and it seems I got stuck . This JSON file have 2 part : THE WORDS and DEFINITION

    And I only need to add THE WORDS to my Array to compare with word input from user

    This is my JSON format take from link below

    github.com/matthewreagan/WebstersEnglishDictionary/blob/master/dictionary.json

    {

    "anopheles" : "A genus of mosquitoes which are secondary hosts of the malaria parasites, and whose bite is the usual, if not the only, means of infecting human beings with malaria. Several species are found in the United States. They may be distinguished from the ordinary mosquitoes of the genus Culex by the long slender palpi, nearly equaling the beak in length, while those of the female Culex are very short. They also assume different positions when resting, Culex usually holding the body parallel to the surface on which it rests and keeping the head and beak bent at an angle, while Anopheles holds the body at an angle with the surface and the head and beak in line with it. Unless they become themselves infected by previously biting a subject affected with malaria, the insects cannot transmit the disease.",

    ....

    Thanks !

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • The file size is 21Mb! You probably need to use some external tool to remove all definitions from the file and then edit it to make it compatible with C2 JSON format:

    {"c2array":true,"size":[3],"data":["apple","banana","coconut"]}

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)