JSON 데이터와 CSV데이터를 랜덤으로 생성하기
데이터를 전송하고 표현하는 웹과 앱의 기능을 개발하는데 CSV, JSON 등 다양한 자료 형태의 샘플데이터가 필요한 경우가 많다. 이는 사용자가 직접 입력하는 수고로움 없이 데이터를 랜덤하게 자동으로 생성해주는 다음 사이트를 이용해서 데이터를 다운받아 사용할 수 있다.
Mockaroo - Random Data Generator and API Mocking Tool | JSON / CSV / SQL / Excel
Mock your back-end API and start coding your UI today. It's hard to put together a meaningful UI prototype without making real requests to an API. By making real requests, you'll uncover problems with application flow, timing, and API design early, improvi
www.mockaroo.com
다음 화면은 필드이름을 id, first_name, last_name, email, gender, ip_address로 하고 1000개의 데이터를 csv파일 형태로 생성하는 화면이다.
다음 이미지는 json형태의 데이터를 다운받는 경우이다.
필드이름 6개는 id, first_name, last_name, email, gender, ip_address이다.