29 Commits

Author SHA1 Message Date
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
Felipe Pena
54fec7b772
x.json2.decoder2: fix option decode (fix #24861) (#24881) 2025-07-13 10:26:45 +03:00
Hitalo Souza
cd244757db
x.json2: update tests to integrate decoder2 in json2 (#24551) 2025-05-29 13:01:50 +03:00
omahs
1957162c2a
all: fix typos (#24470) 2025-05-13 22:05:22 +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
1f07431e1a
x.json2.decoder2: update decode.v (#24020) 2025-03-23 21:40:00 +02:00
Delyan Angelov
e983d75b64
markused,builtin,strconv,vlib: reduce generated C sizes for compilers != tcc, for short programs, by simplifying the generation of backtraces, and reducing string interpolations in panics (#23380) 2025-01-06 08:23:56 +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
210239fb01
x.json2.decoder2: support fully struct attributes (#22741) 2024-12-06 13:53:07 +02:00
Hitalo Souza
a3bd5c64da
x.json2.decoder2: fix typos (#23018) 2024-12-05 23:02:33 +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
8e3cd702a1
x.json2.decoder2: support aliases fully (#22608) 2024-10-21 17:43:27 +03:00
Hitalo Souza
14ca0f533f
x.json2: cleanup comments (#22595) 2024-10-20 14:36:56 +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
Hitalo Souza
8556353b43
x.json2.decoder2: improve decoder, add checker (part 1) (#22545) 2024-10-17 13:37:46 +03:00
Hitalo Souza
81b9fd8b14
x.json2.decoder2: clean up (#22373) 2024-10-01 10:15:51 +03:00
Hitalo Souza
e16d727da1
x.json2.decoder2: rename fields, add more comments (#22037) 2024-08-12 16:08:24 +03:00
yuyi
c51d30bf53
fmt: fix alignment of struct init fields (#22025) 2024-08-11 09:11:24 +03:00
Turiiya
f7e820cdeb
v: vet for empty string conditions (#21529) 2024-05-19 17:57:52 +03:00
Hitalo Souza
107c43a34d
json2: decode (#21039) 2024-04-15 16:47:59 +03:00