일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- db
- Server
- Security
- interface
- 자바
- learning
- 인공지능
- LIST
- Web
- Spring
- Analysis
- mysql
- data
- Linux
- Github
- java
- DeepLearning
- Pattern
- Deep
- 함수
- Python
- git
- mariaDB
- ai
- framework
- centos
- SSH
- error
- Numpy
- javascript
- Today
- Total
목록JSON (4)
PostIT
GraphQLAuthor : HunSeolRepo : https://github.com/Seolhun/typescript-graphql-exampleQuery{ user(id: "1") { id name } users { id name } } { "data": { "user": { "id": "1", "name": "SeolHun" }, "users": [ { "id": "1", "name": "SeolHun" }, { "id": "2", "name": "Jay" }, { "id": "3", "name": "Steve" }, { "id": "4", "name": "Jobs" } ] } }TypeInt : 부호있는 32 비트 정수Float : 부호있는 배정 밀도 부동 소수점 값.String : UTF-8 ..
private String jsonReadAll(Reader reader) throws IOException { StringBuilder sb = new StringBuilder(); int cp; while ((cp = reader.read()) != -1) { sb.append((char) cp); } return sb.toString(); } private JSONObject readJsonFromUrl(String url) throws IOException, JSONException { InputStream is = new URL(url).openStream(); try { BufferedReader rd = new BufferedReader(new InputStreamReader(is, Char..
http://huskdoll.tistory.com/38http://huskdoll.tistory.com/38 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768package test; import org.json.simple.JSONArray;import org.json.simple.JSONObject; public class JsonCreateTest { public static void main(String[] args) { //최종 완성될 JSONObject 선언(전체) JSONObject jsonObject = new JS..
http://huskdoll.tistory.com/6 자바에서 JSON을 처리 하는 부분입니다.String 형식의 JSON을 JSONObject 형으로 만들어 추출하는 예제 입니다. 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105import org.json.simple.JSONArray;import org.json.simple.JSONObject;import org.json.simple..