Commit graph

40 commits

Author SHA1 Message Date
189a19d631 fix deserializing nested arrays with implicit keys into map 2021-08-29 20:45:45 +02:00
097ed69b9e switch to miette for error reporting 2021-08-29 20:30:35 +02:00
7a98bf4825 fix index panicking when using int index 2021-08-03 16:35:47 +02:00
ba0b66e1bb clonable errors 2021-05-03 19:02:45 +02:00
261b417be9 fix building without the colors feature 2021-04-29 18:16:26 +02:00
b195940fed make Key Ord 2021-03-22 19:02:33 +01:00
370e959c6c add iterators 2021-03-22 18:06:40 +01:00
f6cd8d6fa0 ignore comments 2021-02-24 16:19:51 +01:00
a3178f9993 lower msrv to 1.43 2021-02-23 22:32:59 +01:00
688f4fb6f4 allow trailing semicolon 2021-02-15 15:38:39 +01:00
20dad94035 update dependencies 2021-02-13 19:53:37 +01:00
2fac6f39e1 add as_int/float to Value 2021-02-12 19:04:59 +01:00
cf2fda0c8c finish serde support 2020-12-14 00:11:32 +01:00
80a72c3d72 serde stuff 2020-12-13 22:31:06 +01:00
bf1edefb25 error with source printing 2020-12-13 18:21:12 +01:00
2352ed9fd1 accept more array keys 2020-12-13 18:05:50 +01:00
9ab5131b4c some array cleanup 2020-12-13 17:35:51 +01:00
33bc8f160b move towards spannedtoken 2020-12-13 17:24:28 +01:00
5e8ad8f513 dont store source in SpannedError 2020-12-13 17:08:11 +01:00
9dc0f567ca move parsing into a struct 2020-12-13 16:47:14 +01:00
06e43ddd9c the bit of performance is not worth this unsafe 2020-12-13 15:03:33 +01:00
f1c1f99328 minor string code cleanup 2020-12-08 21:46:32 +01:00
e9e13df444 also optimize single quoted strings 2020-12-08 21:36:08 +01:00
7d6934a265 optimize double quota string literals 2020-12-08 21:32:46 +01:00
f7ae4135d6 remove allocation for int parsing 2020-12-08 20:15:40 +01:00
2227135357 more complete float parsing 2020-12-07 21:35:14 +01:00
575d5be572 make bool handling case insensitive 2020-12-07 21:18:09 +01:00
a19ce28d07 extend integer literal support 2020-12-07 21:14:47 +01:00
309f71a041 implement display for Key and Value 2020-12-04 16:48:30 +01:00
27b1552c94 handle null 2020-12-02 23:23:01 +01:00
6975a89b63 fix doc 2020-12-02 00:39:41 +01:00
64653f3cd5 crate doc 2020-12-02 00:30:35 +01:00
89610734af basic readme, cleanup token error 2020-12-02 00:25:41 +01:00
3184e19b95 more doc 2020-12-02 00:16:45 +01:00
63376a67cf make value easier to work with by providing index and partialeq 2020-12-01 23:58:44 +01:00
dc96e3190c fix trailing comma and close bracket handling 2020-12-01 23:01:06 +01:00
36b75790f0 handle empty arrays and trailing commas 2020-12-01 22:20:28 +01:00
4c4cbefcf5 cleanup unexected token handling 2020-12-01 22:06:53 +01:00
1f64e8af89 wip 2020-12-01 21:53:10 +01:00
b3fd3bc6a3 init repo 2020-12-01 17:44:52 +01:00