Flinner
|
1486258591
|
strconv: fix `atoi` returning 0 on large strings (#10635)
|
2021-07-02 10:39:57 +03:00 |
Delyan Angelov
|
58df35b453
|
x.json2: fix `json_string` for utf8 codepoints, add regression test
|
2021-06-29 11:40:52 +03:00 |
Ned Palacios
|
003f60fc1a
|
x.json2: fix nest level check (#10584)
|
2021-06-28 14:05:27 +03:00 |
Lukas Neubert
|
dee733aae4
|
fmt: reset const field align after multi line exprs (#9916)
|
2021-04-29 02:17:37 +03:00 |
Delyan Angelov
|
85e9cf1bd3
|
tests: add vlib/x/json2 to vtest-cleancode.v
|
2021-04-11 11:34:08 +03:00 |
Delyan Angelov
|
c939e4df97
|
x.json2: fix `direct sum type init` notices
|
2021-04-11 11:28:52 +03:00 |
Atakan Yenel
|
28018c6fc9
|
x.json2: add custom errors (#9523)
|
2021-03-30 15:29:17 +03:00 |
Ned Palacios
|
c5302bfcf5
|
x.json2: skip whitespace before scanning (#9508)
|
2021-03-30 09:40:20 +02:00 |
pancake
|
1bf7d968f9
|
x.json2: add u64 (#9457)
|
2021-03-25 16:53:39 +01:00 |
Delyan Angelov
|
c76c69ec35
|
all: simplify `return if ...` constructs to make more code compatible with -autofree
|
2021-03-22 16:45:29 +02:00 |
Ned Palacios
|
ee879f3e41
|
x.json2: proper string encoding + minor fixes (#9026)
|
2021-03-01 10:22:36 +01: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 |
Delyan Angelov
|
1c0eefae38
|
parser/scanner: replace p.peek_tok2/3 with p.peek_token(2/3) (#8946)
|
2021-02-24 21:03:53 +03:00 |
zakuro
|
f54c1a5cc2
|
all: add strings.Builder.write_string and use write_string instead of write (#8892)
|
2021-02-22 13:18:11 +02:00 |
Lukas Neubert
|
e4a67dea37
|
json2: wrap Builder.free() calls inside unsafe (#8790)
|
2021-02-17 02:19:26 +02:00 |
Lukas Neubert
|
58b3a30b47
|
docs/readmes: format almost all remaining code blocks (#8590)
|
2021-02-05 19:50:28 +02:00 |
Delyan Angelov
|
978359a6fc
|
tests: fix some warnings in preparation for `-W test-self`
|
2021-01-31 11:05:17 +02:00 |
Lukas Neubert
|
ac2c3847af
|
all: update copyright to 2019-2021 (#8029)
|
2021-01-18 13:20:06 +01:00 |
Swastik Baranwal
|
a9ab79d301
|
checker: ban any_int/any_float outside buitlin (#7675)
|
2020-12-31 12:41:30 +01:00 |
Lukas Neubert
|
8adb1acf31
|
check-md: verify code example formatting (#7143)
|
2020-12-05 22:54:41 +01:00 |
Ned Palacios
|
54e03f60b9
|
x.json2: remove builder methods (#7008)
|
2020-12-01 16:23:59 +02:00 |
Ned Palacios
|
6c634086b0
|
json2: decode fn returns `?T`; add new tests (#6933)
|
2020-11-29 14:54:45 +01:00 |
Takahiro Yaota
|
258f8f6af9
|
parser: report unused expression error in if and or blocks (#6953)
|
2020-11-26 00:28:41 +01:00 |
Daniel Däschle
|
7d6f97259f
|
all: refactor UnionSumType to SumType (#6944)
|
2020-11-25 13:09:40 +02:00 |
Daniel Däschle
|
aa6303f0b2
|
all: use the new types with old syntax (#6922)
|
2020-11-24 13:58:29 +01:00 |
Lukas Neubert
|
df4165c7ee
|
docs_ci: check all md files except thirdparty (#6855)
|
2020-11-18 18:28:28 +01:00 |
Anton Zavodchikov
|
fe3d2a9aba
|
json2: unescape characters (#6836)
|
2020-11-15 14:58:17 +02:00 |
div72
|
b0053d8910
|
x.json2: change default number type to i64 (#6773)
|
2020-11-09 07:37:53 +01:00 |
Ned Palacios
|
fc375a40f8
|
x.json2: add fast_raw_decode; support for i64 and f32 (#6586)
|
2020-10-09 16:11:55 +02:00 |
Ned Palacios
|
1aec041371
|
json: fix encode/decode support for generic structs (#6489)
|
2020-09-29 03:15:00 +02:00 |
Daniel Däschle
|
06cade6c31
|
all: change .ReturnType and .Type to .return_type and .typ (#6494)
|
2020-09-28 06:13:38 +02:00 |
Ned Palacios
|
368c2a6bf0
|
vlib: add x/json2 (#6336)
|
2020-09-10 12:05:40 +02:00 |