Serialization library candidate review request

Jesse Phillips Jesse.K.Phillips+D at gmail.com
Wed Aug 30 02:11:13 UTC 2023


On Sunday, 27 August 2023 at 19:39:05 UTC, GrimMaple wrote:
> Hello everyone! When my 
> https://github.com/dlang/phobos/pull/8662 predictably failed, I 
> moved on to create a common serialization library instead that 
> could later on be included in phobos. So I would like to 
> request a review from you to get it to a decent state. If 
> interested, you can find the code 
> [here](https://github.com/GrimMaple/mud/tree/v0.3.0/source/mud/serialization), and if you want to use it with dub you can use `"mud": "~>0.3.0"`.
>
>

I've not been very good with follow-thru, but I thought it more 
important phobos provide standard attributes over serialization.

https://github.com/JesseKPhillips/DIPs/blob/serialize/attribute/DIPs/1NNN-jkp.md

I actually started trying to implement the thoughts, though that 
proved to not have enough time.

---

I'm of the opinion serialize by default is better, not because it 
is good for defining contracts but because it is a good way to 
get info on a class and reduce barrier to entrance. Outside of 
old school xml serialization nobody is making libraries opt in.


More information about the Digitalmars-d mailing list