fork download
  1. <?php
  2. $data = Array(
  3. "personId" => "X1234*****",
  4. "idMark" => "1",
  5. "idMarkDate" => "1070102",
  6. "issueAreaCode" => "65000"
  7. );
  8. $output = json_encode(Array("conditionMap" => json_encode($data)));
  9. echo $output;
Success #stdin #stdout 0.02s 24616KB
stdin
Standard input is empty
stdout
{"conditionMap":"{\"personId\":\"X1234*****\",\"idMark\":\"1\",\"idMarkDate\":\"1070102\",\"issueAreaCode\":\"65000\"}"}