You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently if no JsonSerializerOptions are passed when instantiating HalJsonOutputFormatter, a new instance is created with mostly default settings. The defaults should align with the defaults for SystemTextJsonOutputFormatter to avoid surprises when switching between application\json and application\hal+json.
In particular, the defaults for SystemTextJsonOutputFormatter will use a camel case naming policy while HalJsonOutputFormatter does not. The screenshot below shows the defaults for SystemTextJsonOutputFormatter.
The text was updated successfully, but these errors were encountered:
Currently if no
JsonSerializerOptions
are passed when instantiatingHalJsonOutputFormatter
, a new instance is created with mostly default settings. The defaults should align with the defaults forSystemTextJsonOutputFormatter
to avoid surprises when switching betweenapplication\json
andapplication\hal+json
.In particular, the defaults for
SystemTextJsonOutputFormatter
will use a camel case naming policy whileHalJsonOutputFormatter
does not. The screenshot below shows the defaults forSystemTextJsonOutputFormatter
.The text was updated successfully, but these errors were encountered: