Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | |||||
3 | 4 | 5 | 6 | 7 | 8 | 9 |
10 | 11 | 12 | 13 | 14 | 15 | 16 |
17 | 18 | 19 | 20 | 21 | 22 | 23 |
24 | 25 | 26 | 27 | 28 | 29 | 30 |
31 |
Tags
- JavaScript
- fragment
- release unsigned
- java error
- Kotlin
- CSS사용법
- html
- 안드로이드
- android fragment
- Eclipse
- Program type already present
- R프로그래밍
- android error
- Android Apk
- FLUTTER
- Firebase
- Android Apk 이름 변경
- apache gzip
- release Apk
- tomcat
- css
- Android
- DataTable
- Java
- Android Apk 이름
- jQuery
- spring
- Exception
- MySQL
- error
Archives
- Today
- Total
목록JSON (1)
selfstarter
json list 안에 list 읽기
json list 안에 list 읽기 json 구조는 아래처럼 list 안에 list가 있는 형태일 때, JSONArray에서 해당 list Object를 JSONArray로 변경해줘야 값을 읽을 수 있다. org.json.simple.JSONArray를 사용하지 않고 org.json.JSONArray를 사용해도 쉽게 바꿀 수 있다. org.json.JSONArray을 사용하면 org.json.simple.JSONParser 말고 다른 방식으로 json파일을 읽어와야 한다(불편하고 다른방법을 찾지 못해서 siimple json 사용) [ { "id" : 1, "list" : [{ "id": 100, "name":"aaa"}, { "id": 101, "name":"bbb"}, { "id": 102, "na..
Server/Spring
2019. 7. 15. 14:31