output format is invalid of the crush tree json dumper
The output json string is invalid for "ceph osd crush tree --format=json" command. It contains an array of "nodes" and an array of "stray", but
not wrapped in a json object, and the array of "stray" was not implemented. I have an applications which depends on the output of the above command which will occur json parse error.
#3 Updated by Oshyn Song 12 months ago
New commit to solve the review problems: https://github.com/ceph/ceph/pull/23319/commits/fa1056cfc32ce3bf932d7c71f281c09078c36999