time_machine icon indicating copy to clipboard operation
time_machine copied to clipboard

Implemented toJson and fromJson for date and time types

Open Ludonope opened this issue 2 years ago • 0 comments

Added implementations for toJson and fromJson methods for the following types:

  • LocalDate
  • LocalDateTime
  • LocalTime
  • OffsetDate
  • OffsetDateTime
  • OffsetTime
  • DayOfWeek

These methods allow to use time_machine types along with json_serializable and could be useful to integrate those types with REST API clients for example.

Ludonope avatar Aug 19 '23 15:08 Ludonope