草庐IT

answerlink

全部标签

php - 使用 php 构建复杂的 JSON

我需要从PHP构建一些JSON。JSON的结构并不简单:{"new":{"checkpoints":[{"id":"businessidea","name":"businessidea","purpose":"Formabusinessidea","customer":{"questions":[{"questionid":"id1","questiontitle":"Evaluatesizeofthemarket,likelygrowthvectorsandestimateaddressablesize.","answers":[{"answertext":"ananswerhere