recherche

Maison  >  Questions et réponses  >  le corps du texte

php 有快速把 object 或者 arr 转成 json 字符串的函数吗?

php 有快速把 object 或者 arr 转成 json 字符串的函数吗?

巴扎黑巴扎黑3047 Il y a quelques jours1067

répondre à tous(2)je répondrai

  • 女神的闺蜜爱上我

    女神的闺蜜爱上我2016-11-10 15:41:56

    json_encode

    répondre
    0
  • 面对疾风吧

    面对疾风吧2016-11-10 15:41:35

    (object) $arr;
    (array) $obj;
    json_encode($arr);
    json_decode($json);

    répondre
    0
  • Annulerrépondre