반응형
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 |
Tags
- MSsql
- javascript
- Next.js
- PM2
- security
- git
- Push
- config
- SpringBoot
- popup
- Eclipse
- FCM
- Tomcat
- yona
- jquery
- jenkins
- MariaDB
- rocky9
- ajax
- node.js
- docker
- spring3
- NextJS
- centos7
- pwa
- Java
- mybatis
- mysql
- Maven
- nodejs
Archives
- Today
- Total
목록Response Body (1)
종이 한장 차이...
response Body에 담긴 Json 문자 파싱
- dependency com.googlecode.json-simple json-simple 1.1.1 - 구현 Class public Map getAPICall(int param) throws Exception { Map resultMap = new HashMap(); String reqStr = uRLUtil.requestGET("http://aaa.aaa.kr/GETjson", param); /* reqStr에 담겨오는 jsonString {"code": "success", "message": "", "data": { "a_unit": "2000.9", "b_unit": "3000.0" } } */ //jsonString 파싱하여 jsonObject에 담는다. JSONParser parser = n..
Spring
2020. 12. 1. 09:41