Andrea Marco Sartori
|
f08fff6f54
|
Handle unset keys
|
2022-11-06 01:06:49 +10:00 |
|
Andrea Marco Sartori
|
c32080c344
|
Add method to check whether JSON root is traversed
|
2022-11-06 01:06:25 +10:00 |
|
Andrea Marco Sartori
|
870e83cd39
|
Define method to register sources statically
|
2022-11-06 01:05:00 +10:00 |
|
Andrea Marco Sartori
|
2de167e29b
|
Fix token type
|
2022-11-06 01:03:21 +10:00 |
|
Andrea Marco Sartori
|
87a99785b3
|
Add support for custom sources
|
2022-11-06 01:03:03 +10:00 |
|
Andrea Marco Sartori
|
2472101670
|
Extract tokenization logic
|
2022-11-06 01:02:09 +10:00 |
|
Andrea Marco Sartori
|
ed1ec102e2
|
Update description and suggestion
|
2022-11-06 00:42:45 +10:00 |
|
Andrea Marco Sartori
|
fb71726405
|
Remove nullable declaration from mixed type
|
2022-10-29 18:34:06 +10:00 |
|
Andrea Marco Sartori
|
94667ba3e3
|
Make tokens stringable
|
2022-10-29 18:33:28 +10:00 |
|
Andrea Marco Sartori
|
2ec4bbe58b
|
Call factory method
|
2022-10-29 18:29:04 +10:00 |
|
Andrea Marco Sartori
|
1772eb3e37
|
Use closure for error handling
|
2022-10-29 18:28:21 +10:00 |
|
Andrea Marco Sartori
|
c72f4a6313
|
Auto-load helpers
|
2022-10-29 18:27:43 +10:00 |
|
Andrea Marco Sartori
|
a08a048061
|
Throw exception when registering an invalid source
|
2022-10-29 17:59:19 +10:00 |
|
Andrea Marco Sartori
|
a26ebd8ae8
|
Support any JSON source by default
|
2022-10-29 17:04:39 +10:00 |
|
Andrea Marco Sartori
|
1ec7b9af1b
|
Implement sources
|
2022-10-29 17:04:02 +10:00 |
|
Andrea Marco Sartori
|
59db54f689
|
Avoid multi-byte function
|
2022-10-29 17:03:51 +10:00 |
|
Andrea Marco Sartori
|
820b485113
|
Implement trait to detect endpoints
|
2022-10-29 17:02:41 +10:00 |
|
Andrea Marco Sartori
|
0f78f3c6e6
|
Create exceptions
|
2022-10-29 17:01:57 +10:00 |
|
Andrea Marco Sartori
|
60f2405729
|
Update dependencies
|
2022-10-29 17:01:42 +10:00 |
|
Andrea Marco Sartori
|
80f85ca059
|
Handle tokens while parsing
|
2022-10-17 18:18:32 +02:00 |
|
Andrea Marco Sartori
|
4c9d635add
|
Implement tokens
|
2022-10-17 18:17:28 +02:00 |
|
Andrea Marco Sartori
|
62fd711450
|
Define specific return type
|
2022-10-16 02:19:40 +02:00 |
|
Andrea Marco Sartori
|
19a64d30c2
|
Move related logic to the state value object
|
2022-10-16 02:11:34 +02:00 |
|
Andrea Marco Sartori
|
a29c397b21
|
Redefine token
|
2022-10-16 02:10:14 +02:00 |
|
Andrea Marco Sartori
|
1bd69611b6
|
Create double-quote token
|
2022-10-16 02:09:51 +02:00 |
|
Andrea Marco Sartori
|
5329d51bc1
|
Implement pointers
|
2022-10-16 02:09:11 +02:00 |
|
Andrea Marco Sartori
|
e42ff04cda
|
Introduce tokens map
|
2022-10-16 02:08:32 +02:00 |
|
Andrea Marco Sartori
|
d2b8a8f6be
|
Make the error callback callable
|
2022-10-16 02:07:41 +02:00 |
|
Andrea Marco Sartori
|
4e33e5d247
|
Let tree traverse arrays
|
2022-09-21 01:56:57 +02:00 |
|
Andrea Marco Sartori
|
46fbfc73fb
|
Add state to expect object keys
|
2022-09-21 01:56:24 +02:00 |
|
Andrea Marco Sartori
|
e50c8f023e
|
Implement parser
|
2022-09-21 01:55:47 +02:00 |
|
Andrea Marco Sartori
|
d0dfbedbb5
|
Always match the JSON tree
|
2022-09-21 01:55:25 +02:00 |
|
Andrea Marco Sartori
|
2a811cec4d
|
Make pointer accessible as an array
|
2022-09-21 01:55:01 +02:00 |
|
Andrea Marco Sartori
|
aa778dacac
|
Add method to mark pointers as found
|
2022-09-21 01:54:32 +02:00 |
|
Andrea Marco Sartori
|
82c70b7374
|
Create token types
|
2022-09-21 01:53:28 +02:00 |
|
Andrea Marco Sartori
|
d6297238ad
|
Implement pointers collection
|
2022-09-20 18:08:45 +02:00 |
|
Andrea Marco Sartori
|
b2611c4bf1
|
Implement pointer
|
2022-09-20 18:08:37 +02:00 |
|
Andrea Marco Sartori
|
9058f6353c
|
Implement parser
|
2022-09-20 18:08:30 +02:00 |
|
Andrea Marco Sartori
|
f6fb63fa7c
|
Implement state
|
2022-09-20 18:08:21 +02:00 |
|
Andrea Marco Sartori
|
0704031787
|
Rename property
|
2022-09-20 18:07:49 +02:00 |
|
Andrea Marco Sartori
|
58ed5c95d3
|
Create token
|
2022-09-20 18:07:25 +02:00 |
|
Andrea Marco Sartori
|
382a553f9d
|
Create null pointer
|
2022-09-20 18:07:09 +02:00 |
|
Andrea Marco Sartori
|
99d0586baa
|
Create tree
|
2022-09-20 18:07:00 +02:00 |
|
Andrea Marco Sartori
|
f813e55996
|
Add option to silence parsing errors
|
2022-09-20 11:41:09 +02:00 |
|
Andrea Marco Sartori
|
10b18ee0b6
|
Implement parser
|
2022-09-19 00:35:27 +02:00 |
|
Andrea Marco Sartori
|
406ef13553
|
Create pointers collection
|
2022-09-19 00:35:19 +02:00 |
|
Andrea Marco Sartori
|
b516cc6714
|
Create state
|
2022-09-19 00:35:05 +02:00 |
|
Andrea Marco Sartori
|
20a638e450
|
Move tokens
|
2022-09-19 00:34:22 +02:00 |
|
Andrea Marco Sartori
|
a22f1f88fa
|
Yield structural boundaries separately
|
2022-09-19 00:33:45 +02:00 |
|
Andrea Marco Sartori
|
ff2d11d7da
|
Move pointer
|
2022-09-19 00:32:43 +02:00 |
|