Commit Graph

31 Commits

Author SHA1 Message Date
Zahary Karadjov ee4795cf29
wip ref fixes 2019-11-25 20:46:14 +02:00
Zahary Karadjov 88b79e2300
Remove warnings in Nim 1.0.2 2019-11-04 18:42:34 +00:00
Zahary Karadjov f4bd22e054 Support for tuples 2019-08-14 16:18:42 +02:00
andri lim a0607c6375 fix 32 bit problem 2019-08-14 15:44:59 +02:00
Zahary Karadjov f6a7da52e0
Handle the writing aspects of custom field serialization 2019-08-07 01:20:27 +03:00
Zahary Karadjov 9a8d593598
Fix compilation issues with Nim 0.19.6 2019-08-02 15:07:06 +03:00
Alexander Ivanov e49b8bdb43 Implement support for normal and ordered tables 2019-08-02 13:33:44 +03:00
Zahary Karadjov 997ae368a5
Add a test case for case objects 2019-08-01 17:12:31 +03:00
Zahary Karadjov 0c12b0f42d
In error messages, display the start position of strings instead of the end pos 2019-07-21 17:12:48 +03:00
Zahary Karadjov 943501f941
Improved support for range types 2019-07-19 02:02:15 +03:00
Zahary Karadjov 95bdb8acc1
Export more procs useful in low-level deserializers 2019-07-19 02:01:34 +03:00
Zahary Karadjov 73d9e0d458
Handle changes in the serialization APIs 2019-07-18 21:20:17 +03:00
Zahary Karadjov 7922a83c4d
Serialization for sets 2019-07-16 13:20:05 +03:00
Jacek Sieka f349761b76
std_shims -> stew 2019-07-07 11:46:32 +02:00
Jacek Sieka e127b49cd4
fix typo 2019-06-28 09:50:51 +02:00
Zahary Karadjov 9d909d352a Add support and tests for Option and reference types 2019-06-24 17:38:37 +03:00
Zahary Karadjov a1baedeb1b Opt-in helper module for serializing the stdlib Port type 2019-06-20 15:35:17 +03:00
Mamy André-Ratsimbazafy f3d8f822bd
Handle reserved keyword `type` as field name 2019-05-28 17:42:18 +02:00
Mamy André-Ratsimbazafy 3cb55e7057
Print custom exception names 2019-03-29 13:49:47 +01:00
Zahary Karadjov cbec44d339 Handle more standard-libary types 2019-03-25 01:11:54 +02:00
Zahary Karadjov 40de103278 Detect the precide field with failing custom serialization 2019-03-20 03:17:41 +02:00
Zahary Karadjov c2daa5a23c Improved error handling and pretty-printing for arrays 2019-03-20 01:54:16 +02:00
Ștefan Talpalaru 002c6bbb38
assert() -> doAssert()
and an explicit "test" task for the sake of nimble.sh
2019-03-14 00:39:10 +01:00
Zahary Karadjov a9d565f8e0 Tests with distinct types 2019-03-13 23:20:58 +02:00
Zahary Karadjov 49c07ca512 Handle the latest OutputStream changes 2019-03-11 11:39:19 +02:00
Zahary Karadjov edda2577a3 Handle large unsigned values and add Portable JsonMode in the Lexer 2019-01-21 19:40:14 +02:00
Zahary Karadjov daa60be371 Handle objects without fields gracefully 2018-12-28 03:02:20 +02:00
Zahary Karadjov 6d3fae7df2 Json deserialisation; Tests 2018-12-19 12:47:53 +02:00
Zahary Karadjov 53f5c427e0 fix a serialization issue affecting the ETH-P2P tracing 2018-11-29 03:38:35 +02:00
Zahary Karadjov e5da7654d5 Use the proper field enumeration logic; Add some high-level helpers and tests 2018-11-11 13:46:19 +02:00
Zahary Karadjov 4728844a32 Initial JSON serializer 2018-11-10 02:16:09 +02:00