eclipse-ee4j / eclipse-ee4j/yasson

Deserialization of object from primitive type not working ?

Open
#459 2 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Java
Stars
218
Forks
109
Avg merge
1d 5h
Merged PRs (30d)
9

Description

When an object is serialized as a unique primitive value (say a numeric primary key) using a dedicated Serializer, Yasson fails to natively deserialize it ("Error deserialize JSON value into type XXX").

For instance, Jackson dynamically checks if a constructor for target object exists with primitive value as a parameter, and invokes it to retrive object instance (so without the need for custom deserializer)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.