MCPcopy Create free account
hub / github.com/error311/FileRise / fr_admin_read_json

Function fr_admin_read_json

public/api/admin/_common.php:35–42  ·  view source on GitHub ↗

* @return array */

()

Source from the content-addressed store, hash-verified

33 * @return array<string,mixed>
34 */
35 function fr_admin_read_json(): array
36 {
37 fr_admin_bootstrap();
38
39 $raw = file_get_contents('php://input');
40 $decoded = json_decode((string)$raw, true);
41 return is_array($decoded) ? $decoded : [];
42 }
43}
44
45if (!function_exists('fr_admin_emit_result')) {

Calls 1

fr_admin_bootstrapFunction · 0.85

Tested by

no test coverage detected