1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00
Commit Graph

10 Commits

Author SHA1 Message Date
Ned
0e5ae7126f
x/json2: fix decoder errors (#13655)
* x/json2: fix decoder errors, refactoring

* x/json2: add error-catching tests

* x/json2: add missing docs

* x/json2: fmt
2022-03-05 13:02:43 +02:00
Tim Basel
9d0a5942ac
builtin: change IError msg and code to methods + fix vlib, add a deprecation notice for the old usages (#13041) 2022-02-11 15:52:33 +02:00
Don Park
ae54cd78f5
json2: encode ascii chars < 0x20 in json (#12494) 2021-11-18 08:34:00 +03:00
Daniel Däschle
be0c54caf9
checker: require or block for sumtype map (#11089) 2021-09-10 16:07:39 +03:00
Ned Palacios
003f60fc1a
x.json2: fix nest level check (#10584) 2021-06-28 14:05:27 +03:00
Delyan Angelov
c939e4df97
x.json2: fix direct sum type init notices 2021-04-11 11:28:52 +03:00
Ned Palacios
c5302bfcf5
x.json2: skip whitespace before scanning (#9508) 2021-03-30 09:40:20 +02:00
spaceface
b9a381f101
all: migrate to the new Option (p. 1) (#8924) 2021-02-28 22:24:29 +03:00
Ned Palacios
8dff168e01
x.json2: create custom scanner for scanning JSON (#8716) 2021-02-26 08:36:02 +02:00
Ned Palacios
6c634086b0
json2: decode fn returns ?T; add new tests (#6933) 2020-11-29 14:54:45 +01:00