Nested BSON giving null values while mapping file file
Getting null values in Options class line 58

Debug output.

I have searched through the net and tried many things but could not sort it out.
Am i missing something?

Are you sure you will always have four options in your question?
If not, then which data structure should you be using?

Did you think of using map or hashmap?

Then how would i provide numbering then?
Like “1”: ?

I tried but cannot resolve the problem. even if i try to use map i am getting null values.

Hey,Thank you I just sorted it out.

Closing this topic as your issue is resolved by the mentor. If it is still not resolved, Kindly un-mark the accepted solution or create a new topic and post this question as a reference link in the description of the new topic.