{"size": 217, "ext": "js", "max_stars_repo_path": "JS/JS Fundamentals/11. OBJECTS AND CLASSES/LAB/03. Convert to Object.js", "max_stars_repo_name": "AntoniyaIvanova/SoftUni", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "JS/JS Fundamentals/11. OBJECTS AND CLASSES/LAB/03. Convert to Object.js", "max_issues_repo_name": "AntoniyaIvanova/SoftUni", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "JS/JS Fundamentals/11. OBJECTS AND CLASSES/LAB/03. Convert to Object.js", "max_forks_repo_name": "AntoniyaIvanova/SoftUni", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 24.1111111111, "max_line_length": 62, "alphanum_fraction": 0.5760368664}
function convertToObj(input){
    let person = JSON.parse(input);

    for (const key in person) {
        console.log(`${key}: ${person[key]}`);
    }
}

convertToObj('{"name": "George", "age": 40, "town": "Sofia"}')