Skip to content

Conversation

@cowtowncoder
Copy link
Member

No description provided.

@cowtowncoder
Copy link
Member Author

Not loving replicating of subset of BeanDeserializer but apparently less complex than alternatives.

return (Map.Entry<Object,Object>) ctxt.handleUnexpectedToken(getValueType(ctxt), p);
}

final KeyDeserializer keyDes = _keyDeserializer;
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is actually wrong: KeyDeserializer is only good for JSON Object property names; here we need a proper ValueDeserializer...


t = p.nextToken(); // move to next property or END_OBJECT
}

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Missing checks for missing (absent) "key" or "value"...

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.

2 participants