eclipse-ee4j / eclipse-ee4j/yasson
(de)serialize Double <-> String
- Dominant language
- Java
- Stars
- 218
- Forks
- 109
- Avg merge
- 1d 5h
- Merged PRs (30d)
- 9
Description
I get this error when trying to (de)serialize the primitive type `double`:
```
13:11:18,793 SEVERE [org.eclipse.yasson.internal.Marshaller] double value cannot be Infinite or NaN
13:11:18,803 SEVERE [org.eclipse.yasson.internal.Marshaller] Generating incomplete JSON
13:11:18,803 ERROR [io.util.EntityTool] javax.json.bind.JsonbException: Internal error: double value cannot be Infinite or NaN
```
When I change `double` to `Double` all works.
Am I forced to change all the primitive "`double`" properties to "`Double`" only to work with yasson?
_Btw, the error log does not show **which** property makes trouble..but it's a property with the type "double"_
Contributor guide
Assessment
This issue has not been assessed yet.