Hi so I am trying to convert JSON to objects but when I read the file it throws up an exception:

> 
> FileSystemException: Cannot open file, path = 'D:/AndroidStudio/my\_app/assets/data/questions.json' (OS Error: No such file or directory, errno = 2)
> 
> 
> 

here is the code:

```
String loadQuestionAsset() {
  String jsonString;
  new File('D:/AndroidStudio/my_app/assets/data/questions.json').readAsString().then((String contents) {
    jsonString = contents;
  });
  return jsonString;
}
List<Question> parseJsonForQuestion() {
  Map decoded = jsonDecode(loadQuestionAsset());
  List<Question> questions = new List<Question>();
  for (var question in decoded['questions']) {
    questions.add(new Question(question['question'], question['bool']));
  }
  return questions;
}

```

and the JSON file:

```
{
  "questions": [
    {
      "question": "Elon Musk is human",
      "bool": false
    },
    {
      "question": "Pizza is healthy",
      "bool": false
    },
    {
      "question": "Flutter is awesome",
      "bool": true
    }
  ]
}

```

Thanks for help :)