-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathphp_jsonfast.stub.php
More file actions
47 lines (26 loc) · 1.63 KB
/
Copy pathphp_jsonfast.stub.php
File metadata and controls
47 lines (26 loc) · 1.63 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
<?php
// Stubs for php_jsonfast
namespace {
class JsonFast {
const OUTPUT_ARRAY = null;
const OUTPUT_STRING = null;
const OUTPUT_OBJECT = null;
public static function testJsonValue(?int $output): mixed {}
public static function analyse(string $json, ?int $output): mixed {}
public static function validate(string $json): bool {}
public static function beautify(string $json, ?int $indent, ?int $output): mixed {}
public static function minify(string $json, ?int $output): mixed {}
public static function inspect(string $json, ?int $output): mixed {}
public static function unwrap(string $json, ?int $max_depth, ?int $output): mixed {}
public static function get(string $json, string $path, ?int $output): mixed {}
public static function has(string $json, string $path): bool {}
public static function search(string $json, string $path, ?int $output): mixed {}
public static function extract(string $json, array $paths, ?int $output): mixed {}
public static function merge(string $base, string $overlay, ?int $output): mixed {}
public static function getSchema(string $json, ?int $output): mixed {}
public static function validateSchema(string $json, string $schema_json, ?int $output): mixed {}
public static function applySchema(string $json, string $schema_json, ?int $output): mixed {}
public static function diff(string $before, string $after, ?int $output): mixed {}
public static function schemaDiff(string $before_schema, string $after_schema, ?int $output): mixed {}
}
}