javascript - angularJS - Accessing JSON keys that have spaces in them -


enter image description here

above picture of json data being returned api. can see of json keys have 2 words space in between them. how can access in angular app. coming in array btw.

i have tried:

<li ng-repeat="task in maintask.tasks"> {{ task.['car id'] }} </li> 

with no luck. help.

how

task['car id'] 

no period needed between task , opening bracket.


Comments

Popular posts from this blog

jOOQ update returning clause with Oracle -

java - Warning equals/hashCode on @Data annotation lombok with inheritance -

java - BasicPathUsageException: Cannot join to attribute of basic type -