Delyan Angelov
|
3e297bced4
|
ci: remove some tests from skip_with_werror in v test-self
|
2021-04-14 12:47:24 +03:00 |
|
Delyan Angelov
|
accd4d83bf
|
ci: fix compilation
|
2021-04-04 20:14:51 +03:00 |
|
Alexander Medvednikov
|
57e6138a61
|
all: remove byteptr and charptr; replace them with &byte and &char
|
2021-04-04 17:43:32 +03:00 |
|
Delyan Angelov
|
7bbcf02134
|
ci: fix failing -Werror steps for code generated by json.encode(map{'a': []string{}})
|
2021-03-18 12:13:06 +02:00 |
|
spaceface
|
b712af56fd
|
all: bring back panic(err.msg) -> panic(err) (#9022)
|
2021-03-01 00:18:14 +01:00 |
|
spaceface
|
d63b7bc35a
|
all: update repo to use the new error handling syntax (#8950)
|
2021-02-28 23:20:21 +03:00 |
|
spaceface
|
b9a381f101
|
all: migrate to the new Option (p. 1) (#8924)
|
2021-02-28 22:24:29 +03:00 |
|
Nick Treleaven
|
4a0367a63c
|
vlib: add [unsafe] tag to more functions: tos, string_from_wide, strings.Builder: write_bytes, free (#8766)
|
2021-02-15 17:15:52 +02:00 |
|
Alexander Medvednikov
|
035a163454
|
json: encode_pretty (p. 2) + tests
|
2021-02-10 10:17:29 +01:00 |
|
Alexander Medvednikov
|
f67e4ab57c
|
json: encode_pretty (p. 1)
|
2021-02-10 10:13:06 +01:00 |
|
Nick Treleaven
|
64d12cdc8d
|
checker: check number of C function arguments for some cases (#8444)
|
2021-01-30 18:33:36 +01:00 |
|
Lukas Neubert
|
ac2c3847af
|
all: update copyright to 2019-2021 (#8029)
|
2021-01-18 13:20:06 +01:00 |
|
yuyi
|
2ad2d68d7c
|
json: fix decoding of null map/array (#7936)
|
2021-01-07 20:21:22 +01:00 |
|
Alexander Medvednikov
|
b3e0926601
|
json: decode/encode time.Time
|
2020-12-22 07:24:44 +01:00 |
|
Seven Du
|
4a35a75b64
|
json: fix raw json string decoding crash when expected key is missing (#7206)
|
2020-12-09 20:10:41 +01:00 |
|
Xavier B
|
fafe30b6aa
|
json: add support for aliased struct fields (#6556)
|
2020-12-05 16:13:18 +01:00 |
|
Alexander Medvednikov
|
c7cefa9ce6
|
json: fix encoding pointers
|
2020-11-29 17:45:22 +01:00 |
|
Daniel Däschle
|
25912673a9
|
cgen: fix generic json bug (#6731)
|
2020-11-04 10:21:30 +02:00 |
|
Ned Palacios
|
1aec041371
|
json: fix encode/decode support for generic structs (#6489)
|
2020-09-29 03:15:00 +02:00 |
|
Vinicius Rangel
|
bf065674cc
|
json: maps, memory leak, and error forwarding (#6116)
|
2020-08-16 02:30:37 +02:00 |
|
Delyan Angelov
|
0af415fa28
|
vlib: add unsafe{} wrappers to C. fn calls, to allow compiling with -prod again
|
2020-07-21 09:05:31 +03:00 |
|
Emily Hudson
|
46dbbd0ed0
|
json: add enum to json_test to prevent regressions
|
2020-06-02 12:13:26 +03:00 |
|
Delyan Angelov
|
f1f6fb1a9f
|
json: fix f32 is not struct
|
2020-05-31 14:17:20 +03:00 |
|
Enzo Baldisserri
|
1633675c11
|
gen: fix nested or
|
2020-05-21 22:35:43 +02:00 |
|
Alexander Medvednikov
|
4f307c1a78
|
checker: requre & in struct init; http: chunked encoding
|
2020-05-18 05:11:00 +02:00 |
|
Ned Palacios
|
5b47ec49af
|
parser: add support for multiple struct field attributes
|
2020-05-08 15:09:42 +02:00 |
|
Alexander Medvednikov
|
148661ead6
|
json: wrap up: encode_array()
|
2020-05-05 14:54:12 +02:00 |
|
Alexander Medvednikov
|
b3d7b0205a
|
json: handle field attributes
|
2020-05-05 14:41:27 +02:00 |
|
Alexander Medvednikov
|
ef6c418eb6
|
json: decode arrays
|
2020-05-05 13:23:44 +02:00 |
|
Alexander Medvednikov
|
9aa1a65489
|
checker: check match condition
|
2020-05-04 21:03:18 +02:00 |
|
Alexander Medvednikov
|
9823d80e0c
|
json: minor fixes + bring back the test
|
2020-05-04 20:43:22 +02:00 |
|
Alexander Medvednikov
|
fd8a194df0
|
json: wrap up decode()
|
2020-05-04 16:46:39 +02:00 |
|
Alexander Medvednikov
|
c1ee14cc3e
|
json: decode() part 1
|
2020-05-01 12:02:31 +02:00 |
|
Keito Nagai
|
57859db07c
|
readme: fix docs link
|
2020-04-19 20:47:36 +02:00 |
|
Alexander Medvednikov
|
df37597f00
|
tests: disable cookie test for now
|
2020-04-14 03:43:59 +02:00 |
|
Alexander Medvednikov
|
1185f04868
|
json: encode
|
2020-04-14 00:37:47 +02:00 |
|
Alexander Medvednikov
|
24958df565
|
parser: do not allow duplicate fns; cgen: move fn code to fn.v
|
2020-04-13 19:59:57 +02:00 |
|
Alexander Medvednikov
|
0db0c642c3
|
vfmt: add missing imports automatically
|
2020-04-12 17:45:04 +02:00 |
|
Shun Sakai
|
c8c43a2475
|
update copyright year
|
2020-01-23 21:04:46 +01:00 |
|
S-YOU
|
09e390eac5
|
remove string clone because cJSON already did internally
|
2020-01-18 17:40:58 +01:00 |
|
Alexander Medvednikov
|
848cd3cb3e
|
run vfmt on http, net, sync, strconv
|
2019-12-22 01:57:50 +03:00 |
|
Alexander Medvednikov
|
ad6adf327e
|
vlib: fix missing else{} in match statements
|
2019-12-07 17:23:37 +03:00 |
|
Alexander Medvednikov
|
e9e931fe4a
|
force C function definitions
|
2019-11-24 12:14:22 +03:00 |
|
Danil-Lapirow
|
bb9d95e9aa
|
parser: allow '' in attributes
|
2019-10-18 20:17:23 +03:00 |
|
unknown-v
|
b3805140ec
|
Remove json_test.exp & json_test.lib
|
2019-10-03 02:00:11 +03:00 |
|
Alexander Medvednikov
|
bb9eec8696
|
json: use &
|
2019-09-02 19:17:05 +03:00 |
|
Alexander Medvednikov
|
3bd7bcfac3
|
remove u8 and i32 aliases
|
2019-09-01 22:37:22 +03:00 |
|
Robin Martijn
|
5df31c16f7
|
json: fix #1751; support unsigned integers
|
2019-08-26 20:02:19 +03:00 |
|
Michiel Vlootman
|
817f5bf0a6
|
add test for [json:fieldname]
Added test also tests the output from json.encode to make sure the json:fieldname attribute is used.
|
2019-08-23 11:43:11 +03:00 |
|
Alexander Medvednikov
|
e39cb41d6b
|
json: custom json field names with "[json:field_name]"
|
2019-08-23 02:54:39 +03:00 |
|