Skip to content

Commit ccdeabf

Browse files
committed
update release notes wrt #242
1 parent 0231777 commit ccdeabf

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

ion/src/main/java/com/fasterxml/jackson/dataformat/ion/IonGenerator.java

+7-1
Original file line numberDiff line numberDiff line change
@@ -492,6 +492,9 @@ public void writeEndObject() throws IOException, JsonGenerationException {
492492
_writer.stepOut();
493493
}
494494

495+
/**
496+
* @since 2.12.2
497+
*/
495498
public void writeEndSexp() throws IOException, JsonGenerationException {
496499
_writeContext = _writeContext.getParent();
497500
_writer.stepOut();
@@ -528,8 +531,11 @@ public void writeStartObject() throws IOException, JsonGenerationException {
528531
_writer.stepIn(IonType.STRUCT);
529532
}
530533

534+
/**
535+
* @since 2.12.2
536+
*/
531537
public void writeStartSexp() throws IOException, JsonGenerationException {
532-
_verifyValueWrite("start a sexp"); // <-- copied from UTF8JsonGenerator
538+
_verifyValueWrite("start a sexp");
533539
_writeContext = ((IonWriteContext) _writeContext).createChildSexpContext();
534540
_writer.stepIn(IonType.SEXP);
535541
}

release-notes/VERSION-2.x

+2
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ Project: jackson-datatypes-binaryModules:
1616
#240: (cbor) Handle invalid CBOR content like `[ 0x84 ]` (incomplete array)
1717
#241: (ion) Respect `WRITE_ENUMS_USING_TO_STRING` in `EnumAsIonSymbolSerializer`
1818
(contributed by jhhladky@github)
19+
#242: (ion) Add support for generating IonSexps
20+
(contributed by jhhladky@github)
1921
#244: (ion) Add support for deserializing IonTimestamps and IonBlobs
2022
(contributed by jessbrya-amzn@github)
2123

0 commit comments

Comments
 (0)