export async function getJson(path: string) { let response = await fetch(path); let users = await response.json(); return users; }