pdo php如何使JSON输出[关闭]

问题描述 投票:0回答:0

我有带有 pdo php 的 API 我想选择像那样制作 JSON 输出

{
    "structure":{
        "data": {
            "inserts": {
                "Artist":[
                    {
                        "Id":"6",
                        "Title":"Jane"
                    }
                ]
            }
        }
    }
}
php arrays json pdo
© www.soinside.com 2019 - 2024. All rights reserved.