윤석렬

json 개좋네요 ㅎㅎ

오늘 입문했네요..

 

만드는건 어렵겟죠??

 

 

Array ( [id] => 6684372795486 [title] => MALBON x WDS SNAPBACK HAT [handle] => malbon-x-wds-snapback-hat-beige [description] => <meta charset="utf-8"> <ul data-mce-fragment="1"> <li data-mce-fragment="1">Snapback Hat</li> <li data-mce-fragment="1">Malbon Golf and Wind Logo Embroidered on Front</li> <li data-mce-fragment="1">Bucket Sea Logo Embroidered on Left</li> </ul> [published_at] => 2022-06-10T11:00:13-07:00 [created_at] => 2022-05-23T15:32:14-07:00 [vendor] => WIND AND SEA [type] => HEADWEAR [tags] => Array ( [0] => 6.9.22 wds 2 [1] => products/malbon-x-wds-snapback-hat-beige [2] => products/malbon-x-wds-snapback-hat-black [3] => products/malbon-x-wds-snapback-hat-green [4] => products/malbon-x-wds-snapback-hat-white ) [price] => 7000 [price_min] => 7000 [price_max] => 7000 [available] => 1 [price_varies] => [compare_at_price] => [compare_at_price_min] => 0 [compare_at_price_max] => 0 [compare_at_price_varies] => [variants] => Array ( [0] => Array ( [id] => 39706236616798 [title] => OS / BEIGE [option1] => OS [option2] => BEIGE [option3] => [sku] => WDS-MALBON-BGE-20-OS [requires_shipping] => 1 [taxable] => 1 [featured_image] => [available] => 1 [name] => MALBON x WDS SNAPBACK HAT - OS / BEIGE [public_title] => OS / BEIGE [options] => Array ( [0] => OS [1] => BEIGE ) [price] => 7000 [weight] => 0 [compare_at_price] => [inventory_quantity] => 9 [inventory_management] => shopify [inventory_policy] => deny [barcode] => [requires_selling_plan] => [selling_plan_allocations] => Array ( ) ) ) [images] => Array ( [0] => //cdn.shopify.com/s/files/1/1770/9541/products/WDS-MALBON-20_BEIGE_1.jpg?v=1654713033 [1] => //cdn.shopify.com/s/files/1/1770/9541/products/WDS-MALBON-20_BEIGE_2.jpg?v=1654713032 [2] => //cdn.shopify.com/s/files/1/1770/9541/products/WDS-MALBON-20_BEIGE_3.jpg?v=1654713033 )

댓글 4개

$array['idx'] = "1";
$array['name'] = "cat";

echo json_encode($array);
xml은 파싱이 어려운데 json은 간단해서 좋은 거 같아요.
@바보천사 simplehtmldom 검색해보세요 같이 크롤링 배워봐요 ㅎㅎ 모르는것 있으면 3일차인 제가 조금이나마 도와드릴게요 카톡 xfindcokr
json... orm 배우세영..
댓글을 작성하시려면 로그인이 필요합니다.

자유게시판

203,424건
+
제목 글쓴이 날짜 조회
22-06-14 조회 1,482
22-06-14 조회 1,444
22-06-14 조회 1,653
22-06-14 조회 1,658
22-06-14 조회 2,331
22-06-14 조회 1,998
22-06-14 조회 1,518
22-06-14 조회 2,080
22-06-14 조회 1,509
22-06-14 조회 1,771
22-06-13 조회 1,349
22-06-13 조회 1,445
22-06-13 조회 2,201
22-06-13 조회 2,465
22-06-13 조회 1,723
22-06-13 조회 1,443
22-06-13 조회 1,506
22-06-13 조회 1,789
22-06-13 조회 1,508
22-06-13 조회 1,482