1
0
mirror of https://github.com/halaxa/json-machine.git synced 2025-07-17 12:31:15 +02:00
Commit Graph

500 Commits

Author SHA1 Message Date
Florian Wolfsjäger
80779cedc0 Fix test for root JSON pointer 2022-01-19 09:41:09 +01:00
Filip Halaxa
428bb840ab Added edge cases to ParserTest::dataGetJsonPointer 2022-01-18 20:32:05 +01:00
Florian Wolfsjäger
6e82d49bc6 Added method to get all JSON pointers 2022-01-18 19:14:32 +01:00
Florian Wolfsjäger
b6f6482901 Added methods getCurrentJsonPointer & getMatchedJsonPointer
Deprecated method getJsonPointer
Added tests for getCurrentJsonPointer & getMatchedJsonPointer
2022-01-17 12:36:15 +01:00
Filip Halaxa
e6fe9d7f21 Update README.md 2022-01-17 11:50:33 +01:00
Filip Halaxa
ba85214051 README: iterator_count() 2022-01-15 18:29:01 +01:00
Filip Halaxa
230183452a ValidJsonPointersTest::testToArrayReturnsJsonPointers 2022-01-14 21:15:29 +01:00
Filip Halaxa
b1a21ca8cf make cs-fix 2022-01-14 20:40:07 +01:00
Filip Halaxa
0c33b25265 JSON Pointer validation does not ignore duplicate paths 2022-01-14 20:37:31 +01:00
Filip Halaxa
1386bafa25 Simplified condition 2022-01-14 15:11:18 +01:00
Filip Halaxa
996a7b001b Regexp speed optimization 2022-01-14 15:09:33 +01:00
Filip Halaxa
c1c55608d4 Useless comment deleted 2022-01-13 14:57:46 +01:00
Filip Halaxa
d0b3e84e42 make cs-fix 2022-01-13 14:50:33 +01:00
Filip Halaxa
41cc1d6033 JSON Pointer validation logic moved to separate class 2022-01-13 14:47:31 +01:00
Filip Halaxa
9547ec9e44 JSON Pointer intersection tests extended. 2022-01-12 22:01:21 +01:00
Filip Halaxa
d2fc7ebcb5 Closures do not need to be static 2022-01-12 22:01:21 +01:00
Florian Wolfsjäger
9aa2b1f7da Added check variable $singleJsonPointer
Clarified variable/method names
Fixed return type of Parser.getJsonPointer()
2022-01-12 21:58:11 +01:00
Filip Halaxa
d922e91550 Method order 2022-01-12 21:19:19 +01:00
Filip Halaxa
b85e1b9698 make cs-fix 2022-01-12 21:14:29 +01:00
Filip Halaxa
f9ad09247d Validating method split in two. 2022-01-12 21:12:49 +01:00
Filip Halaxa
228054cd2d Methods extracted for better readability 2022-01-12 20:45:26 +01:00
Filip Halaxa
5d451bac93 Extract token type declarations to separate function for better readability. Without performance hit. 2022-01-12 20:01:05 +01:00
Filip Halaxa
c8978eb448 Update README.md
Big O complexity info
2022-01-10 23:04:12 +01:00
Filip Halaxa
ac1ae06f96 Merge branch 'master' into pr-61-multiple-json-pointers 2022-01-10 16:20:07 +01:00
Filip Halaxa
13237258f3 Fixed doc comments 2022-01-10 16:13:52 +01:00
Filip Halaxa
904ee8ed1f Modified @Symfony rules as the code style 2022-01-10 16:07:19 +01:00
Filip Halaxa
1214f837ed Fixed exmaple in README to reflect 0.8.0 2022-01-10 15:30:36 +01:00
Filip Halaxa
318e695859 Typo 2022-01-10 13:11:15 +01:00
Florian Wolfsjäger
a7f8931059 Fixed default return type 2022-01-10 10:32:50 +01:00
Florian Wolfsjäger
7017fb8ecd Merge remote-tracking branch 'upstream/master'
# Conflicts:
#	src/Items.php
#	src/JsonMachine.php
#	src/Parser.php
2022-01-10 10:28:22 +01:00
Filip Halaxa
3f7062d244 Update README.md 2022-01-09 18:11:38 +01:00
Filip Halaxa
e7cdefd2ef Removed deprecated Decoder interface 2022-01-08 15:37:34 +01:00
Filip Halaxa
5738c463f6 Default decoding structure of Parser is object 2022-01-08 15:24:06 +01:00
Filip Halaxa
3c98e16441 Removed JsonMachine class 2022-01-08 15:18:22 +01:00
Filip Halaxa
7857b3229f Removed deprecated functions 2022-01-08 15:09:45 +01:00
Filip Halaxa
f0cd096c19 make cs-fix 2022-01-08 15:07:40 +01:00
Filip Halaxa
a7f1918ac1 Version 0.8.0 release notes. 0.8.0 2022-01-07 16:21:59 +01:00
Filip Halaxa
163225e7e6 LexerTest::testAnyPossibleChunkSplit supports both debug modes 2022-01-07 09:21:56 +01:00
Filip Halaxa
af08117952 LexerTest::testAnyPossibleChunkSplit 2022-01-06 16:41:24 +01:00
Filip Halaxa
436ab4b0e7 ChunkDecoder renamed to ItemDecoder to better reflect the purpose. 2022-01-06 15:36:10 +01:00
Filip Halaxa
c1a5a902f1 Removed misleading comment 2022-01-06 15:36:10 +01:00
Filip Halaxa
cf633044b2 Update README.md 2022-01-06 13:46:33 +01:00
Filip Halaxa
7e44e5dac7 Performance boost via isset() fast lookup 0.8.0-BETA2 2022-01-04 13:30:21 +01:00
Filip Halaxa
abd39f3096 Actual bool values to improve efficiency 2022-01-03 22:18:58 +01:00
Florian Wolfsjäger
a48422708a Merge remote-tracking branch 'upstream/master'
# Conflicts:
#	README.md
#	src/JsonMachine.php
#	src/Parser.php
2022-01-03 13:25:29 +01:00
Filip Halaxa
6cb41095a2 CHANGELOG 2021-12-29 16:10:48 +01:00
Filip Halaxa
4467645dcb Lexer with debug mode split to Lexer and DebugLexer (SRP) 2021-12-29 16:01:37 +01:00
Filip Halaxa
7df0601d8a Performance: Lookup non-significant bytes early + code cleanup 2021-12-29 12:51:27 +01:00
Filip Halaxa
101b60c025 Lexer performance improvements (+-9% gain) 2021-12-26 12:49:48 +01:00
Filip Halaxa
5ff79aba7c Update README.md 2021-12-24 22:56:42 +01:00