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

136 Commits

Author SHA1 Message Date
Filip Halaxa
e88ea0a06f Dropped PhpUnit mocks because of incompatibility with old php 2020-12-06 21:40:38 +01:00
Filip Halaxa
5a16d75f38 ErrorWrappingDecoder implementation 2020-12-06 21:40:38 +01:00
Filip Halaxa
59051e1927 Fixed JsonDecoder test directory structure 2020-12-06 21:40:38 +01:00
Filip Halaxa
81bbc0a6df Introduced FileChunks to correctly free file resource 2020-12-05 13:59:27 +01:00
Filip Halaxa
8b5f5fb0d4 (String|Stream)Bytes renamed to (String|Stream)Chunks 2020-12-05 13:59:27 +01:00
Filip Halaxa
067c34da4e Revert "Dropped PHP 5 support"
This reverts commit c81414a2f5.
2020-12-05 13:59:27 +01:00
Filip Halaxa
ed8cc59dcb Fixed build 2020-12-01 21:10:49 +01:00
Filip Halaxa
0926b35cb3 Merge branch '0_4' 2020-12-01 20:58:22 +01:00
Filip Halaxa
17c52541b5 JsonMachine::getPosition() 2020-12-01 20:34:17 +01:00
Filip Halaxa
c81414a2f5 Dropped PHP 5 support 2020-11-11 12:45:00 +01:00
Filip Halaxa
5a2275ae67 Changelog + param types to annotations 2020-11-09 12:24:07 +01:00
Gabriel Memmel
dfa50658bb Unexpected end as syntax error #26, #27. All exceptions inherited from JsonMachineException #2 2020-11-09 12:03:22 +01:00
Gabriel Memmel
43941b5d82 Added unexpected end exception with tests 2020-11-09 12:03:22 +01:00
Filip Halaxa
9184c0c317 Make deprecations silent in tests 2020-04-17 15:11:30 +02:00
Filip Halaxa
3d9bbf590e Added test for malformed keys 2020-04-16 15:31:25 +02:00
Filip Halaxa
89c83562c6 Swappable json decoder 2020-04-16 15:22:53 +02:00
Filip Halaxa
7c0a313c2b Definition of deprecated httpClientChunks moved to examples 2020-04-16 13:30:24 +02:00
Filip Halaxa
6f1e4aa3bf Correct naming 2020-04-16 09:32:51 +02:00
Filip Halaxa
edfe81352f JsonMachine::fromIterable + Symfony HttpClient support 2019-12-20 15:49:04 +01:00
Filip Halaxa
c3aa1f7c62 Merge remote-tracking branch 'pr19/master' 2019-12-19 19:26:25 +01:00
Filip Halaxa
b7ffc662c9 Fixes #6 - falsy pointer does not match falsy path 2019-12-13 22:02:29 +01:00
Filip Halaxa
15fee5e7c8 Fixed #19 - currentPath building process is fixed 2019-12-12 22:24:04 +01:00
Bas de Groot
5e95d9fbce set pointer of the failing test to the exact place where it fails. 2019-12-02 10:54:46 +01:00
Bas de Groot
6d45dfabd9 Failing unittest:
in src/Parser.php at line 112 $currentPath[$currentLevel] holds thepreviously found attribute string ("previous_download") which is then used for a calculation.

Error:
A non-numeric value encountered

src/Parser.php:112
test/JsonMachineTest/JsonPointerTest.php:16
2019-12-02 10:47:07 +01:00
Filip Halaxa
cbc45bdcff Helper function to cast iterator of arrays to iterator of objects 2019-10-15 12:21:03 +02:00
Fabien
ed7b0ea914 Add test for UTF-8 BOM detection 2019-10-15 11:51:50 +02:00
Nathan Bishop
4e75db9600 Remove testing of positional information 2019-06-12 13:15:41 +02:00
Filip Halaxa
b4817b8cc8 Added dataset captions 2019-06-12 13:15:41 +02:00
Filip Halaxa
f55f6d8bbf Added some crlf confusion :) 2019-06-12 13:15:41 +02:00
Nathan Bishop
f942d27eba Add tests for verifying behaviour of tracking a lexemes position within a JSON file 2019-06-12 13:15:41 +02:00
Filip Halaxa
cea59292f2 Added test case 2019-03-20 20:25:37 +01:00
Filip Halaxa
03e7cbfba7 Added more test cases 2019-03-02 17:07:16 +01:00
Filip Halaxa
a2f5dcb37e Failing test case 2019-03-02 14:33:22 +01:00
Filip Halaxa
204750fe8b Memory consumption optimization for in-memory JSON 2018-12-13 20:12:03 +01:00
Filip Halaxa
1ab7184513 Ready for different byte providers 2018-12-13 20:12:03 +01:00
Filip Halaxa
a4143d9e61 Renamed to JsonMachine 2018-11-29 11:41:26 +01:00