title: how to retrieve JSON data as checkbox and to check those values which are true in javascript
body: <p>Using AJAX I have retrieved data from API  <a href="https://jsonplaceholder.typicode.com/todos" rel="nofollow noreferrer">https://jsonplaceholder.typicode.com/todos</a> (JSON data) as checkbox.For those values which are true the checkbox should be checked.</p>