Skip to content

Commit

Permalink
Merge pull request #1052 from philipa/master
Browse files Browse the repository at this point in the history
Don't generate a spurious NullNode after parsing an embedded object.
  • Loading branch information
cowtowncoder committed Dec 19, 2015
2 parents 9fce37f + c463ff4 commit 11c200b
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -276,6 +276,7 @@ protected final ArrayNode deserializeArray(JsonParser p, DeserializationContext
return node;
case JsonTokenId.ID_EMBEDDED_OBJECT:
node.add(_fromEmbedded(p, ctxt, nodeFactory));
break;
case JsonTokenId.ID_STRING:
node.add(nodeFactory.textNode(p.getText()));
break;
Expand Down

0 comments on commit 11c200b

Please sign in to comment.