草庐IT

customerSupplierFlag

全部标签

php - 使用 php 过滤 JSON 数据

我正在尝试遍历这个json文件并过滤掉不需要的元素我想拆分结果所以我有一个客户列表或一个供应商列表json文件:{"$descriptor":"Test","$resources":[{"$uuid":"281d393c-7c32-4640-aca2-c286f6467bb1","$descriptor":"","customerSupplierFlag":"Customer"},{"$uuid":"87a132a9-95d3-47fd-8667-77cca9c78436","$descriptor":"","customerSupplierFlag":"Customer"},{"$u