Files
oak-gpui/crates/gpui/src
Piotr Osiewicz 2a3c660d1f settings: accept trailing commas (#2606)
Z-2357

I've found a crate that handles both comments and trailing commas in
JSON. It is a fork of `serde_json`, but it is maintained & up-to-date.
Sadly RawValue seems to not play nicely with it; I've ran into
deserialisation issues around use of RawValue. For this PR I've migrated
to `Value` API.

Obviously this is just a point of discussion, not something I'd merge
straight away. There may be better solutions to this particular problem.

I've also noticed that `serde_json_lenient` does not handle trailing
commas after bindings array. I'm not sure how big of an issue that is.

Release Notes:
- Improved handling of trailing commas in settings files.
[#1322](https://github.com/zed-industries/community/issues/1322)
2023-06-19 18:29:03 +02:00
..
2023-05-01 16:27:36 +02:00
2023-03-06 14:26:32 -08:00
2023-05-10 17:37:36 -07:00
2023-05-22 14:10:17 +02:00
2023-06-02 22:02:19 -04:00
WIP
2023-04-11 18:21:56 -06:00
2023-05-08 19:36:51 +03:00