코드:
결과보기 »
<html> <head> <meta charset="UTF-8"> <title>JSON Use</title> </head> <body> <?php $value = array('apple'=>'Fruits', '1'=>1, '참'=>true); // PHP 배열 echo json_encode($value); ?> </body> </html>