title: Express.js not able to parse the value coming from database
body: <p>I have express api with mysql db.For some reason I am not able to print the value of sub array array coming from db, however if I console.log(menu) it's printing fine.
  Error showing is &quot;TypeError: Cannot read properties of null (reading 'monday')&quot;. Spent 2 hours but not getting any solution, thanks in advance.
  Here is my code</p>
  <pre><code>let menu = JSON.parse(Item.personal_custom_menu);
                console.log(menu.monday);
  
  </code></pre>
  <p>Value for Item.personal_custom_menu which is coming from db is this</p>
  <pre><code>{
  &quot;monday&quot;:[{&quot;title&quot;:&quot;Lasagna&quot;,&quot;id&quot;:45},{&quot;title&quot;:&quot;Khawsey Curry&quot;,&quot;id&quot;:42},{&quot;title&quot;:&quot;Khawsey Curry&quot;,&quot;id&quot;:42}],
  &quot;tuesday&quot;:[{&quot;title&quot;:&quot;Khawsey Curry&quot;,&quot;id&quot;:42},{&quot;title&quot;:&quot;Khawsey Curry&quot;,&quot;id&quot;:42},{&quot;title&quot;:&quot;Khawsey Curry&quot;,&quot;id&quot;:42}],
  &quot;wednesday&quot;:[{&quot;title&quot;:&quot;Khawsey Curry&quot;,&quot;id&quot;:42},{&quot;title&quot;:&quot;Khawsey Curry&quot;,&quot;id&quot;:42},{&quot;title&quot;:&quot;Khawsey Curry&quot;,&quot;id&quot;:42}],
  &quot;thursday&quot;:[{&quot;title&quot;:&quot;Khawsey Curry&quot;,&quot;id&quot;:42},{&quot;title&quot;:&quot;Khawsey Curry&quot;,&quot;id&quot;:42},{&quot;title&quot;:&quot;Khawsey Curry&quot;,&quot;id&quot;:42}],
  &quot;friday&quot;:[{&quot;title&quot;:&quot;Khawsey Curry&quot;,&quot;id&quot;:42},{&quot;title&quot;:&quot;Khawsey Curry&quot;,&quot;id&quot;:42},{&quot;title&quot;:&quot;Khawsey Curry&quot;,&quot;id&quot;:42}],
  &quot;saturday&quot;:[{&quot;title&quot;:&quot;Khawsey Curry&quot;,&quot;id&quot;:42},{&quot;title&quot;:&quot;Khawsey Curry&quot;,&quot;id&quot;:42},{&quot;title&quot;:&quot;Khawsey Curry&quot;,&quot;id&quot;:42}],
  &quot;sunday&quot;:[{&quot;title&quot;:&quot;Khawsey Curry&quot;,&quot;id&quot;:42},{&quot;title&quot;:&quot;Khawsey Curry&quot;,&quot;id&quot;:42},{&quot;title&quot;:&quot;Khawsey Curry&quot;,&quot;id&quot;:42}]}
  </code></pre>