//theOb(json 數)
列印函數
var retStr = '';
if (typeof theObj == 'object') {
retStr = '
';
for (var p in theObj) {
if (typeof theObj[p] == 'object') {
retStr = '
['p'] => ' typeof( theObj) '
';
retStr = '
' print_r(theObj[p]) '
';
} else {
retStr = '
['p'] =>; 'theObj[p]'
';
}
}
retStr = '
';
}
回傳 retStr;
}