Skip to content

Implemented toJson and fromJson for date and time types#75

Open
Ludonope wants to merge 1 commit into
Dana-Ferguson:masterfrom
nopestudio:master
Open

Implemented toJson and fromJson for date and time types#75
Ludonope wants to merge 1 commit into
Dana-Ferguson:masterfrom
nopestudio:master

Conversation

@Ludonope
Copy link
Copy Markdown

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant