以下 API: http ://api.aladhan.com/v1/gToH?date=24-09-2021
正在返回以下 JSON 响应:
{"code":200,"status":"OK","data":{"hijri":{"date":"16-02-1443","format":"DD-MM-YYYY"," day":"16","weekday":{"en":"Al Juma'a","ar":"\u0627\u0644\u062c\u0645\u0639\u0629"},"month":{"number ":2,"en":"\u1e62afar","ar":"\u0635\u064e\u0641\u064e\u0631"},"year":"1443","designation":{"abbreviated":"AH ","expanded":"Anno Hegirae"},"holidays":[]},"gregorian":{"date":"24-09-2021","format":"DD-MM-YYYY"," day":"24","weekday":{"en":"Friday"},"month":{"number":9,"en":"September"},"year":"2021","designation":{"abbreviated":"AD","expanded":"Anno Domini"}}}}
如何通过从 objectscript 传递参数 date=24-09-2021 调用上面的 API 从响应 JSON 中获取 "hijri":{"date":"16-02-1443" 部分?
这是来自 DC 的交叉发布的问题
谢谢