We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8952f4e commit 4954e82Copy full SHA for 4954e82
bin/convertForDeveloperDocs.php
@@ -33,7 +33,7 @@
33
$groupedData = groupData($latestData);
34
$outData = $groupedData;
35
36
- $outJson = json_encode($outData, JSON_PRETTY_PRINT);
+ $outJson = json_encode($outData, JSON_PRETTY_PRINT|JSON_UNESCAPED_SLASHES);
37
38
fwrite($targetHandle, $outJson);
39
fclose($targetHandle);
@@ -94,5 +94,5 @@ function groupData($data) {
94
$groups[$key]['methods'][] = $object;
95
}
96
97
- return array('groups' => $groups);
+ return array('groups' => array_values($groups));
98
0 commit comments