ppkarwasz opened a new pull request, #4080:
URL: https://github.com/apache/logging-log4j2/pull/4080

   This change updates `JsonWriter` to serialize non-finite `float` and 
`double` values (`NaN`, `Infinity`, and `-Infinity`) as JSON strings.
   
   This behavior aligns with Jackson's `JsonWriteFeature#WRITE_NAN_AS_STRINGS`.
   
   Previously, these values were written without quotes, which produces 
**invalid JSON** according to the JSON specification.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to