Json data display


#1
public myJson: any; // Instead of any, it's better to use its type

async showDetails() {
	let name = await this.storage.get('name');
	this.name = name;

	let age = await this.storage.get('age');
	let myJson = await this.storage.get('my-json'); 
	console.log('myJson', myJson); // If you want to log it in the console	
	this.myJson = myJson;
	
	if (name == 'Anes') {
		alert("Hi good");
	}
}

it is printing {“name”:“john”,“age”:“20”,“car”:“ferri”}

but i want in this format.I mean convert to array format and print
name:john
age:20
car:ferry