분류 전체보기

·설치메뉴얼
·Java
package ch01; import com.google.gson.Gson;import com.google.gson.GsonBuilder;public class GsonExample { public static void main(String[] args) { // Student student1 = new Student("고길동", 40, "애완학과"); Student student2 = new Student("둘리", 5, "문제학과"); // Student[] studentArr = {student1, student2}; // --> 특정 형식(구조화) 있는 문자열로 변환 하고 싶다.. --> JSON 형태 Gson gson = new GsonBuilder().setPre..
·Java
package ch01;import java.io.BufferedReader;import java.io.IOException;import java.io.InputStreamReader;import java.net.HttpURLConnection;import java.net.URL;import java.net.URLEncoder;public class APIExplorer { public static void main(String[] args) throws IOException { // 순수 자바코드로 (클라이언트 측 코딩) // 준비물 // 1. 서버측 주소 - 경로 // http://localhost:8080/test?name=홍길동&age=20 // http://localhost:8080/t..
신슨형의 정상화
'분류 전체보기' 카테고리의 글 목록 (47 Page)