261 Commits

Author SHA1 Message Date
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
Andrea Marco Sartori
c193e23984 Ensure integer type 2023-02-25 20:57:57 +10:00
Andrea Marco Sartori
49a28db2bf Test exceptions handling 2023-02-25 20:46:41 +10:00
Andrea Marco Sartori
064c66c336 Implement exceptions handling 2023-02-25 20:45:48 +10:00
Andrea Marco Sartori
d844e6387a Do not check for syntax errors 2023-02-25 20:44:56 +10:00
Andrea Marco Sartori
d57625ae9b Keep track of expected tokens 2023-02-25 20:42:41 +10:00
Andrea Marco Sartori
efba19ec9b Redefine exceptions 2023-02-25 20:39:46 +10:00
Andrea Marco Sartori
961b8a8278 Extract method to check if Guzzle is installed 2023-02-25 20:38:35 +10:00
Andrea Marco Sartori
308b15a5d8 Update visibility 2023-02-25 20:37:41 +10:00
Andrea Marco Sartori
7aecd1ef06 Fix in-object detection logic 2023-02-25 20:37:11 +10:00
Andrea Marco Sartori
b4683dce62 Update README 2023-02-25 20:30:19 +10:00
Andrea Marco Sartori
3cda37e371 Install Mockery 2023-02-25 20:30:06 +10:00
Andrea Marco Sartori
8755cbcb6e Add spacing 2023-02-06 18:18:50 +10:00
Andrea Marco Sartori
23f1b6906f Add fixture helper 2023-02-06 18:18:14 +10:00
Andrea Marco Sartori
f103138ddf Restore Tokenizer 2023-02-06 18:16:52 +10:00
Andrea Marco Sartori
1d7a20499a Restore Tokenizer 2023-02-06 18:16:31 +10:00
Andrea Marco Sartori
79656e3f55 Improve explanation 2023-02-05 16:12:33 +10:00
Andrea Marco Sartori
f585d2bb64 Decode only strings 2023-02-05 16:11:36 +10:00
Andrea Marco Sartori
63786a33c8 Call method directly 2023-02-05 16:10:46 +10:00
Andrea Marco Sartori
589b5e2e18 Update README 2023-02-01 22:25:13 +10:00
Andrea Marco Sartori
e7b93f108f Optimize function call 2023-02-01 19:49:00 +10:00
Andrea Marco Sartori
49a315d22c Splice tree only when needed 2023-02-01 19:15:37 +10:00
Andrea Marco Sartori
6710ef4415 Move Tokenizer logic to Lexer to improve speed 2023-01-24 17:32:39 +10:00
Andrea Marco Sartori
898e1feff0 Optimize native function calls 2023-01-24 17:30:13 +10:00
Andrea Marco Sartori
18ea75da4b Optimize time consumption 2023-01-23 20:13:01 +10:00