Commit Graph

16 Commits (fc64f09f0b2016c88bf93308c5e81c9509c2027d)

Author SHA1 Message Date
Delyan Angelov 4894f61998
toml: add `pub fn (d Doc) value_opt(key string) ?Any {` and some tests for toml.parse_dotted_key/1 2022-05-28 09:18:18 +03:00
Larpon 2b4f7e7685
toml: add `encode<T>` and `decode<T>` (#13244) 2022-01-21 21:21:31 +02:00
Larpon 7ae96f0e38
toml: add support for arrays and maps of primitives in `reflect<T>` (#13245) 2022-01-21 21:20:44 +02:00
Larpon 2a5356670b
toml: add `as_strings()` method to map of `Any` (#12824) 2021-12-13 21:43:33 +02:00
Larpon 7e6d4ebfe1
toml: add doc string to reflect methods (#12666) 2021-12-03 23:07:44 +02:00
Larpon 1d6cc57d9c
toml: add reflection method (#12664) 2021-12-03 12:40:46 +02:00
Larpon 11d70624af
toml: streamline value() api (#12568) 2021-11-24 20:39:22 +02:00
Larpon 1bbc73384c
toml: fix memory corruption when returning new date/time types (#12507) 2021-11-19 20:35:11 +02:00
Larpon 76cf11e6b5
toml: add Any.default_to() method (#12506) 2021-11-19 10:26:45 +02:00
Larpon 7ec70d5477
toml: small refactor, move all json functionality to submodule (#12502) 2021-11-18 13:27:59 +02:00
Larpon 409321327b
toml: don't use time.Time for time representation (#12498) 2021-11-18 07:44:24 +02:00
Larpon 2f75ce0d4c
toml: use `json2` to encode output from .to_json() (#12470) 2021-11-16 08:41:37 +02:00
Larpon 9c508237bd
toml: support for `[a."b.c"]` quoted keys (#12444) 2021-11-13 11:17:35 +02:00
Larpon 5e4594a121
toml: isolate, fix and regress-test sumtype cast causing memory corruption (#12329) 2021-10-28 19:57:30 +03:00
Larpon da47638f42
toml: correct documentation (#11976) 2021-09-26 07:34:47 +03:00
Larpon 5541ec8670
vlib: add toml module + tests (#11964) 2021-09-24 21:13:52 +03:00