Skip to content

Commit

Permalink
Fix #1136
Browse files Browse the repository at this point in the history
  • Loading branch information
cowtowncoder committed Feb 23, 2016
1 parent 23fe0ff commit 575cf32
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 1 deletion.
5 changes: 5 additions & 0 deletions release-notes/VERSION
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@ Project: jackson-databind
=== Releases ===
------------------------------------------------------------------------

2.8.0 (not released yet)

#1136: Implement `TokenBuffer.writeEmbeddedObject(Object)`
(suggested by Gregoire C, gcxRun@github)

2.7.2 (not released yet)

#1129: When applying type modifiers, don't ignore container types.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -925,6 +925,11 @@ public void writeObjectId(Object id) {
_hasNativeId = true;
}

@Override // since 2.8
public void writeEmbeddedObject(Object object) throws IOException {
_appendValue(JsonToken.VALUE_EMBEDDED_OBJECT, object);
}

/*
/**********************************************************
/* JsonGenerator implementation; pass-through copy
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

import java.beans.ConstructorProperties;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.databind.*;

public class CreatorPropertiesTest extends BaseMapTest
Expand Down

0 comments on commit 575cf32

Please sign in to comment.