pjfanning / pekko-http-json

Integrate some of the best JSON libs in Scala with Pekko HTTP
Apache License 2.0
25 stars 2 forks source link

support configuring INCLUDE_SOURCE_IN_LOCATION feature #9

Closed jpersson closed 9 months ago

jpersson commented 9 months ago

Jackson 2.16 changed the default of INCLUDE_SOURCE_IN_LOCATION from true to false causing the location no longer to be included in the error message by default.

This change makes it configurable while keeping the default the same as in jackson.

This contribution is my original work and is licensed to the project under the project's open source license.

pjfanning commented 9 months ago

thanks - I've merged this - I'll see if it's possible to test this