Skip to content

Commit

Permalink
Fix formattig
Browse files Browse the repository at this point in the history
  • Loading branch information
satabin committed Jul 18, 2024
1 parent 75fa0ec commit 2a7eebc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion json/json-core/src/main/scala/io/sphere/json/FromJSON.scala
Original file line number Diff line number Diff line change
Expand Up @@ -392,7 +392,8 @@ object FromJSON extends FromJSONInstances {
time.LocalDate.parse(_, time.format.DateTimeFormatter.ISO_LOCAL_DATE))

implicit val javaYearMonthReader: FromJSON[time.YearMonth] =
jsonStringReader("Failed to parse year/month: %s")(time.YearMonth.parse(_, JavaYearMonthFormatter))
jsonStringReader("Failed to parse year/month: %s")(
time.YearMonth.parse(_, JavaYearMonthFormatter))

implicit val uuidReader: FromJSON[UUID] = jsonStringReader("Invalid UUID: '%s'")(UUID.fromString)

Expand Down

0 comments on commit 2a7eebc

Please sign in to comment.