Commit graph

29 commits

Author SHA1 Message Date
Larsimusrex
c5b6d2a1c6
decoder2: prepare for moving into json2 (#25039) 2025-08-05 10:07:03 +03:00
Larsimusrex
d249bfb04e
decoder2: fix remaining json2 discrepancies (#25029)
Some checks failed
wasm backend CI / wasm-backend (windows-2022) (push) Has been cancelled
json decoder benchmark CI / json-encode-benchmark (push) Has been cancelled
Graphics CI / gg-regressions (push) Has been cancelled
vlib modules CI / build-module-docs (push) Has been cancelled
native backend CI / native-backend-ubuntu (push) Has been cancelled
native backend CI / native-backend-windows (push) Has been cancelled
Shy and PV CI / v-compiles-puzzle-vibes (push) Has been cancelled
Sanitized CI / sanitize-undefined-clang (push) Has been cancelled
Sanitized CI / sanitize-undefined-gcc (push) Has been cancelled
Sanitized CI / tests-sanitize-address-clang (push) Has been cancelled
Sanitized CI / sanitize-address-msvc (push) Has been cancelled
Sanitized CI / sanitize-address-gcc (push) Has been cancelled
Sanitized CI / sanitize-memory-clang (push) Has been cancelled
sdl CI / v-compiles-sdl-examples (push) Has been cancelled
Time CI / time-linux (push) Has been cancelled
Time CI / time-macos (push) Has been cancelled
Time CI / time-windows (push) Has been cancelled
toml CI / toml-module-pass-external-test-suites (push) Has been cancelled
Tools CI / tools-linux (clang) (push) Has been cancelled
Tools CI / tools-linux (gcc) (push) Has been cancelled
Tools CI / tools-linux (tcc) (push) Has been cancelled
Tools CI / tools-macos (clang) (push) Has been cancelled
Tools CI / tools-windows (gcc) (push) Has been cancelled
Tools CI / tools-windows (msvc) (push) Has been cancelled
Tools CI / tools-windows (tcc) (push) Has been cancelled
Tools CI / tools-docker-ubuntu-musl (push) Has been cancelled
vab CI / vab-compiles-v-examples (push) Has been cancelled
vab CI / v-compiles-os-android (push) Has been cancelled
wasm backend CI / wasm-backend (ubuntu-22.04) (push) Has been cancelled
2025-08-03 10:27:43 +03:00
Larsimusrex
809e617501
decoder2: support custom decoders (#25021)
Some checks failed
json decoder benchmark CI / json-encode-benchmark (push) Waiting to run
Graphics CI / gg-regressions (push) Waiting to run
vlib modules CI / build-module-docs (push) Waiting to run
native backend CI / native-backend-ubuntu (push) Waiting to run
native backend CI / native-backend-windows (push) Waiting to run
Shy and PV CI / v-compiles-puzzle-vibes (push) Waiting to run
Sanitized CI / sanitize-undefined-clang (push) Waiting to run
Sanitized CI / sanitize-undefined-gcc (push) Waiting to run
Sanitized CI / tests-sanitize-address-clang (push) Waiting to run
Sanitized CI / sanitize-address-msvc (push) Waiting to run
Sanitized CI / sanitize-address-gcc (push) Waiting to run
Sanitized CI / sanitize-memory-clang (push) Waiting to run
sdl CI / v-compiles-sdl-examples (push) Waiting to run
Time CI / time-linux (push) Waiting to run
Time CI / time-macos (push) Waiting to run
Time CI / time-windows (push) Waiting to run
toml CI / toml-module-pass-external-test-suites (push) Waiting to run
Tools CI / tools-linux (clang) (push) Waiting to run
Tools CI / tools-linux (gcc) (push) Waiting to run
Tools CI / tools-linux (tcc) (push) Waiting to run
Tools CI / tools-macos (clang) (push) Waiting to run
Tools CI / tools-windows (gcc) (push) Waiting to run
Tools CI / tools-windows (msvc) (push) Waiting to run
Tools CI / tools-windows (tcc) (push) Waiting to run
Tools CI / tools-docker-ubuntu-musl (push) Waiting to run
vab CI / v-compiles-os-android (push) Waiting to run
vab CI / vab-compiles-v-examples (push) Waiting to run
wasm backend CI / wasm-backend (ubuntu-22.04) (push) Waiting to run
wasm backend CI / wasm-backend (windows-2022) (push) Waiting to run
json encoder benchmark CI / json-encode-benchmark (push) Has been cancelled
2025-08-02 14:07:29 +03:00
Larsimusrex
f03d800800
decoder2: fix number decoding and improve errors (#25015) 2025-08-01 06:56:39 +03:00
Larsimusrex
66c669fffd
decoder2: rework decoding of sumtypes (#24949) 2025-07-26 07:06:43 +03:00
Larsimusrex
747af8c360
x.json2.decoder2: fix decoding of structs with option fields (fix #24409) (#24922) 2025-07-18 11:03:21 +03:00
Larsimusrex
54c6daab54
decoder2: fix checking and decoding of escape characters (fix #24834) (#24915)
Co-authored-by: Lars Dumke <lars-luis.dumke@keysight.com>
2025-07-17 08:34:05 +03:00
Hitalo Souza
cd244757db
x.json2: update tests to integrate decoder2 in json2 (#24551) 2025-05-29 13:01:50 +03:00
Laurent Cheylus
4dc3465046
x.json2: fix tests for deprecated function fast_raw_decode (#24527) 2025-05-20 16:03:00 +03:00
Hitalo Souza
a412f53e62
x.json2.decoder2: fix array decoding in struct is field, when array is initialized (#24422) 2025-05-06 12:32:53 +03:00
Hitalo Souza
c349381aa5
x.json2.decoder2: improve string tests (#23809) 2025-02-26 03:49:04 +02:00
Hitalo Souza
e32e9f70ce
x.json2.decode2: minor improvements and bugfixes (#23083) 2024-12-07 10:22:46 +02:00
Hitalo Souza
de3b184b01
json2.decoder2: prepare decoder in json2 to be replaced by json2.decode2 (#23078) 2024-12-06 19:47:17 +02:00
Hitalo Souza
b2c5eca745
x.json2.decoder2: include missing test for #22730 (#23051) 2024-12-03 10:06:19 +02:00
Hitalo Souza
f29fb5a9f5
x.json2.decoder2: fix wrong sumtype and struct decoder in array (#23041) 2024-12-02 07:21:37 +02:00
Hitalo Souza
d8021bd459
x.json2.decoder2: support nesteded maps (#23027) 2024-12-01 14:08:37 +02:00
Hitalo Souza
aaeae8c964
x.json2.decoder2: cleanup after #22751 (#22771) 2024-11-06 20:30:56 +02:00
Hitalo Souza
54a6915f02
x.json2.decoder: support sumtypes fully (#22694) 2024-10-30 09:01:39 +02:00
Hitalo Souza
b59b57efd8
x.json2.decoder2: add initial support for sumtypes (#22669) 2024-10-27 22:34:35 +02:00
Hitalo Souza
dd0b6a6480
x.json2.decoder2: add a test for decoding pretty printed json (#22615) 2024-10-22 11:09:02 +03:00
Hitalo Souza
8e3cd702a1
x.json2.decoder2: support aliases fully (#22608) 2024-10-21 17:43:27 +03:00
Hitalo Souza
9ed378884a
x.json2.decoder2: use a linked list insted of an array, to store the decoded elements (#22581) 2024-10-20 01:12:58 +03:00
Hitalo Souza
6583d3c726
x.json2.decoder2: improve decode array (#22556) 2024-10-18 09:12:09 +03:00
Hitalo Souza
7c1cde0396
x.json2.decoder2: decode bool and numbers (#22550) 2024-10-17 20:53:04 +03:00
yuyi
c51d30bf53
fmt: fix alignment of struct init fields (#22025) 2024-08-11 09:11:24 +03:00
Turiiya
dfc0c91295
checker: turn warnings for private fields into errors (#21296) 2024-06-09 10:19:52 +03:00
Delyan Angelov
dbc6b50cda
vlib: make ./v -Wimpure-v -W test vlib/ pass on Linux (#21554) 2024-05-23 16:21:01 +03:00
Turiiya
1363cc85fd
time: update unix time acces, fix issues related to deviating unix times (#21293) 2024-04-17 00:33:37 +03:00
Hitalo Souza
107c43a34d
json2: decode (#21039) 2024-04-15 16:47:59 +03:00