235 Commits

Author SHA1 Message Date
Andrea Marco Sartori
c9ecf6fe6c Adjust lexer position 2023-06-08 17:47:10 +02:00
Andrea Marco Sartori
263de30577 Add fixtures 2023-06-04 17:24:20 +02:00
Andrea Marco Sartori
b324d3b545 Improve tracking of tree 2023-06-04 17:20:32 +02:00
Andrea Marco Sartori
dc21c4facb Reduce instructions 2023-06-04 17:18:43 +02:00
Andrea Marco Sartori
edf39f9233 Update comments 2023-06-04 17:17:02 +02:00
Andrea Marco Sartori
53f28fc6ea Update readme 2023-06-04 17:16:11 +02:00
Andrea Marco Sartori
7743a7efd0 Update readme 2023-03-27 23:16:37 +10:00
Andrea Marco Sartori
f86a27197d Optimize conditions 2023-03-27 23:04:14 +10:00
Andrea Marco Sartori
7d841f4d77 Update pointer key by reference 2023-03-27 23:03:21 +10:00
Andrea Marco Sartori
4f172a0fc6 Simplify conditions 2023-03-25 17:20:09 +10:00
Andrea Marco Sartori
627458cb69 Simplify conditions 2023-03-25 17:00:37 +10:00
Andrea Marco Sartori
74e9a46e42 Simplify conditions 2023-03-25 16:55:09 +10:00
Andrea Marco Sartori
29e8940dea Update dependencies and simplify code 2023-03-25 16:54:12 +10:00
Andrea Marco Sartori
ac41f05904 Specify types for iterable 2023-03-22 23:40:39 +10:00
Andrea Marco Sartori
90b2f59f5a Update readme 2023-03-22 23:36:09 +10:00
Andrea Marco Sartori
e93aacac78 Test eager loading 2023-03-22 23:36:00 +10:00
Andrea Marco Sartori
c5835be28b Eager load JSON into an array 2023-03-22 23:35:41 +10:00
Andrea Marco Sartori
672f6953be Move classes around 2023-03-22 15:28:57 +10:00
Andrea Marco Sartori
5d23f83e69 Update readme 2023-03-21 17:33:59 +10:00
Andrea Marco Sartori
6e9c0996c4 Test mixed pointers 2023-03-21 17:33:52 +10:00
Andrea Marco Sartori
a6f037833c Add missing parameter docblock 2023-03-21 17:33:16 +10:00
Andrea Marco Sartori
9629c2ec85 Replace call_user_func() 2023-03-21 17:32:55 +10:00
Andrea Marco Sartori
863a3eb77c Test lazy pointers and lazy loading 2023-03-20 19:33:16 +10:00
Andrea Marco Sartori
b6b965d7fc Implement lazy loading 2023-03-20 19:32:17 +10:00
Andrea Marco Sartori
db626b0a31 Do not decode when the value is lazy loaded 2023-03-20 19:32:04 +10:00
Andrea Marco Sartori
d7bab834e5 Extract method to traverse a token 2023-03-20 19:31:27 +10:00
Andrea Marco Sartori
c000ce2fa3 Set position when exception is thrown 2023-03-20 19:28:53 +10:00
Andrea Marco Sartori
d603787911 Update PHPStan comment 2023-03-20 19:27:17 +10:00
Andrea Marco Sartori
8a69cabfd8 Introduce lazy pointers 2023-03-20 19:26:48 +10:00
Andrea Marco Sartori
f930423627 Define a global lazy pointer when cloning the config 2023-03-20 19:23:02 +10:00
Andrea Marco Sartori
4212f20149 Move logic related to the JSON tree 2023-03-08 21:06:22 +10:00
Andrea Marco Sartori
2851723dc0 Update readme 2023-03-08 19:49:45 +10:00
Andrea Marco Sartori
5d7ef12013 Check whether two pointers intersect 2023-03-08 19:39:31 +10:00
Andrea Marco Sartori
50a097ef84 Replace static with self in final classes 2023-03-08 17:27:23 +10:00
Andrea Marco Sartori
987bc6a683 Fix code style 2023-03-08 16:59:37 +10:00
Andrea Marco Sartori
66e57b4e79 Fix intersections among pointers with wildcards 2023-03-08 16:54:25 +10:00
Andrea Marco Sartori
7f3e1734ea Refactor sources communicating with endpoints 2023-02-26 21:48:56 +10:00
Andrea Marco Sartori
84b4ae41f7 Support Laravel HTTP client requests 2023-02-26 21:39:51 +10:00
Andrea Marco Sartori
aef455d4fb Improve type declaration 2023-02-26 20:24:54 +10:00
Andrea Marco Sartori
201a4de81b Remove windows 2023-02-26 20:24:34 +10:00
Andrea Marco Sartori
5282ed4678 Update readme 2023-02-26 20:03:52 +10:00
Andrea Marco Sartori
7cb5d8d6ab Test decoders 2023-02-26 20:03:45 +10:00
Andrea Marco Sartori
ecb14ce4ff Update thrown exception 2023-02-26 20:03:29 +10:00
Andrea Marco Sartori
8d773bda24 Use simdjson decoder if loaded 2023-02-26 20:03:11 +10:00
Andrea Marco Sartori
2daf876d99 Remove simdjson helper 2023-02-26 20:02:44 +10:00
Andrea Marco Sartori
25b4024228 Make depth customizable 2023-02-26 20:02:07 +10:00
Andrea Marco Sartori
8580a5daf0 Let JSON size be calculated before parsing if needed 2023-02-26 08:08:55 +10:00
Andrea Marco Sartori
b018c8457e Improve comment 2023-02-26 08:07:53 +10:00
Andrea Marco Sartori
7391668946 Update readme 2023-02-26 07:37:59 +10:00
Andrea Marco Sartori
43e0cc98d1 Update readme 2023-02-25 20:58:04 +10:00