• 구글 계정 로그인

json 불러와서 적용하기

페이지 정보

profile_image
작성자 LJM
댓글 0건 조회 240회 작성일 23-08-21 10:02

본문

json 파일

 

Params = [{"vectors":[[157,335],[218,335],[228,330],[233,325],[236,319],[239,312],[240,305],[233,246],[228,239],[226,238],[223,249],[224,259],[228,269],[232,277],[232,277]],"Color":"rgb(255,38,12, 1)","pSize":2,"pStyle":"BallPen","pStatus":1},{"vectors":[[347,329],[349,342],[349,356],[349,367],[348,375],[347,387],[346,393],[344,404],[341,413],[340,419],[335,428],[329,437],[319,448],[306,456],[284,468],[265,475],[242,484],[220,490],[209,493],[201,496],[194,497],[192,498]],"Color":"rgb(255,38,12, 1)","pSize":2,"pStyle":"BallPen","pStatus":1},{"vectors":[[228,647],[234,651],[239,654],[245,657],[253,660],[263,662],[272,662],[282,662],[302,662],[311,661],[330,657],[339,654],[349,650],[357,646],[362,642],[368,637],[376,628],[381,621],[384,617],[388,609],[392,598],[393,592],[395,580],[395,572],[395,564],[392,558],[389,549],[383,541],[379,537],[373,533],[368,534],[362,536],[348,541],[337,544],[313,552],[298,558],[290,563],[281,569],[274,576],[268,582],[261,591],[258,596],[254,604],[251,611],[249,618],[248,623],[248,633],[248,640],[256,650],[261,658],[266,662],[274,668],[289,678],[297,685],[307,691],[317,700],[322,704],[330,710],[340,718],[348,726],[356,732],[362,738],[372,748],[376,753],[380,759],[382,765],[383,772],[383,780],[381,785],[376,788],[368,793],[358,795],[347,795],[327,795],[313,795],[302,792],[292,789],[284,785],[274,781],[257,772],[245,766],[230,759],[208,750],[197,746],[177,740],[162,734],[150,728],[145,725],[138,721],[134,716],[133,714],[130,709],[126,699],[124,694],[120,681],[119,674],[118,667],[117,660],[117,656],[117,653],[117,649],[118,641],[121,636],[133,621],[140,613],[149,603],[158,597],[164,590],[172,583],[174,579],[178,572],[181,569],[183,565],[184,564],[184,563],[185,562],[189,562],[189,562]],"Color":"rgb(255,38,12, 1)","pSize":2,"pStyle":"BallPen","pStatus":1}]
 

 

 

javascript 소스
   <script type="text/javascript" src="https://curri.kr/data/class/json/TwylSaq2DM4CRcZ3BFuY.json"></script>    

 


var jsonData = JSON.parse(JSON.stringify(Params));
//      console.log("[jsonData] : " + JSON.stringify(jsonData)); 
     console.log("[jsonData] : " + jsonData);

댓글목록

등록된 댓글이 없습니다.