Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Forward reference handling #388

Merged
merged 16 commits into from
Jan 13, 2014
Merged

Conversation

pgelinas
Copy link
Member

Here is a first implementation of forward reference handling, with test cases. There's also test cases in the failing packages that demonstrates the current lack of support that I know of. Currently properties of an Array type, ArrayBlockingQueue and EnumMap are not implemented, due to lack of time. Each custom container deserializer must handle unresolved forward reference, but the recipe is the same (look at CollectionDeserializer and MapDeserializer).

Also, I didn't have to modify IdKey as I first thought.

Fixes #351

cowtowncoder added a commit that referenced this pull request Jan 13, 2014
@cowtowncoder cowtowncoder merged commit 7f61f62 into FasterXML:master Jan 13, 2014
@cowtowncoder
Copy link
Member

Great progress! I hope to have a look soon -- this can be one of key features for 2.4 release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ObjectId does not properly handle forward reference during deserialization
2 participants