나는이 코드를 사용하여 JSON 인코딩 형식의 데이터를 PHP로 전달합니다. php 끝에서 올바른 형식으로 수신되고 전송 된 경우 확인할 수있는 방법이 있습니까?as3의 JSON 인코딩
var people:Array = new Array();
var person:Object = new Object();
var url:String = "http://localhost/ping.php";
var request:URLRequest = new URLRequest(url);
var requestVars:URLVariables = new URLVariables();
var loader:URLLoader = new URLLoader();
person.fullname = "jon jay junior";
person.username = "jjj";
person.role = "ADMIN";
people.push(person);
request.method = URLRequestMethod.POST;
requestVars.myObject = JSON.encode(people);
request.data = requestVars;
loader.load(request);
가능한 중복 통해 호출하는 것입니다 [JSON을 디코딩 할 수없는 (http://stackoverflow.com/questions/4327323/unable -to-decode-json) – PatrickS