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

Function fr_pro_read_json

public/api/pro/_common.php:45–52  ·  view source on GitHub ↗

* @return array */

()

Source from the content-addressed store, hash-verified

43 * @return array<string,mixed>
44 */
45 function fr_pro_read_json(): array
46 {
47 fr_pro_bootstrap();
48
49 $raw = file_get_contents('php://input');
50 $decoded = json_decode((string)$raw, true);
51 return is_array($decoded) ? $decoded : [];
52 }
53}
54
55if (!function_exists('fr_pro_guard_method')) {

Callers 9

save.phpFile · 0.85
delete.phpFile · 0.85
select.phpFile · 0.85
save.phpFile · 0.85
test.phpFile · 0.85
save.phpFile · 0.85
submitForm.phpFile · 0.85

Calls 1

fr_pro_bootstrapFunction · 0.85

Tested by

no test coverage detected