Closed kagmole closed 4 years ago
Implement the interface JsonSerializable on value classes inside src/.
JsonSerializable
src/
The implementation is dead simple: I just reuse the __toString() of each class.
__toString()
The tests are using the providerToString providers as well. I am not sure about this ; do I create a new provider for each one instead?
providerToString
In addition, I added a testToString test for LocalDateTimeTest.
testToString
LocalDateTimeTest
LGTM, thank you!
Released as 0.1.15.
Implement the interface
JsonSerializable
on value classes insidesrc/
.The implementation is dead simple: I just reuse the
__toString()
of each class.The tests are using the
providerToString
providers as well. I am not sure about this ; do I create a new provider for each one instead?In addition, I added a
testToString
test forLocalDateTimeTest
.