Skip to content

Commit f353219

Browse files
committed
Fix #24
1 parent 08854c6 commit f353219

File tree

3 files changed

+26
-1
lines changed

3 files changed

+26
-1
lines changed

cbor/src/main/java/com/fasterxml/jackson/dataformat/cbor/CBORParser.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -817,7 +817,7 @@ protected String _numberToName(int ch, boolean neg) throws IOException
817817
if (neg) {
818818
i = -i - 1;
819819
}
820-
return String.valueOf(1);
820+
return String.valueOf(i);
821821
}
822822

823823
protected JsonToken _handleTaggedBinary(int tag) throws IOException

release-notes/CREDITS

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
Here are people who have contributed to the development of Jackson JSON processor
2+
binary data formats module
3+
(version numbers in brackets indicate release in which the problem was fixed)
4+
5+
Tatu Saloranta (tatu.saloranta@iki.fi): author
6+
7+
--------------------------------------------------------------------------------
8+
Credits for individual projects, since 2.8.0
9+
--------------------------------------------------------------------------------

release-notes/VERSION

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
Project: jackson-datatypes-binary
2+
Modules:
3+
jackson-dataformat-avro
4+
jackson-dataformat-cbor
5+
jackson-dataformat-protobuf
6+
jackson-dataformat-smile
7+
8+
------------------------------------------------------------------------
9+
=== Releases ===
10+
------------------------------------------------------------------------
11+
12+
2.8.0 (not yet released)
13+
14+
#24: (cbor) Incorrect coercion for int-valued Map keys to String
15+
16+

0 commit comments

Comments
 (0)