Skip to content

Commit

Permalink
TokenBuffer - support passing opaque datatypes
Browse files Browse the repository at this point in the history
  • Loading branch information
gcxRun committed Feb 21, 2016
1 parent 2440fc3 commit 8530b07
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -925,6 +925,11 @@ public void writeObjectId(Object id) {
_hasNativeId = true;
}

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

/*
/**********************************************************
/* JsonGenerator implementation; pass-through copy
Expand Down

0 comments on commit 8530b07

Please sign in to comment.