I like that it does not do it by default but I can make it parse the dates if I want.
You can make JSON parse arbitrary sublanguages if you're willing to put in the work.
Still, this is not pure json this way, it's your own transformations
If you could do so, JSON.stringify/parse would be a convenient way to do a deep clone.
> An example of a non-serializable value type is the Date object - it is printed in a non ISO-standard format and cannot be parsed back to its original value :(.
- Roundtrip-able (reversible?)
- Pure
- Effectful
- Mutation-doing
- Idempotent/Nullipotent
- Algebraically closed over the set of its inputs
- Et c.
Every time I hear about a new one I wish I had such a list
You mean injective
Involution, if you mean calling a function twice will give the original input.