3๏ธโฃ ์ ์ด์จ JSON - ๋๊ตฌํ ๋ฐ์ดํฐ ๊ฐ์ ธ์ค๊ธฐ
NBAjson.json { "quiz": { "sport": { "q1": { "question": "Which one is correct team name in NBA?", "options": [ "New York Bulls", "Los Angeles Kings", "Golden State Warriros", "Huston Rocket" ], "answer": "Huston Rocket" } }, "maths": { "q1": { "question": "5 + 7 = ?", "options": [ "10", "11", "12", "13" ], "answer": "12" }, "q2": { "question": "12 - 8 = ?", "options": [ "1", "2", "3", "4" ], "an..
2021. 3. 9.
2๏ธโฃ ์ ์ด์จ JSON - ๋ฐ์ดํฐ ๊ฐ์ ธ์ค๊ธฐ
Json ํ์ผ-> data.json [ { "name":"์ ์๋", "age":23, "address":"์์ธ์", "height":181.1 }, { "name":"์ฌ์ฒญ์ด", "age":14, "address":"๊ฐ์์", "height":165.3 }, { "name":"ํฅ๋จ์ด", "age":16, "address":"๋จ์์", "height":157.9 }, { "name":"์ด๋ชฝ๋ฃก", "age":18, "address":"๊ณต์ฃผ์", "height":173.7 } ]
2021. 3. 9.