Skip to content

Commit

Permalink
Fix #159
Browse files Browse the repository at this point in the history
  • Loading branch information
cowtowncoder committed Sep 10, 2019
1 parent 603ffc1 commit c961356
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 6 deletions.
7 changes: 2 additions & 5 deletions release-notes/VERSION-2.x
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,10 @@ NOTE: Annotations module will never contain changes in patch versions,

2.10.0 (not yet released)

#51: Add basic Java 9+ module info
#141: Add `JsonFormat.Feature.ACCEPT_CASE_INSENSITIVE_PROPERTIES`
(suggested by Craig P)

2.10.0.pr2 (31-Aug-2019)
2.10.0.pr1 (19-Jul-2019)

#51: Add basic Java 9+ module info
#159: Add `JsonFormat.Shape.BINARY`

2.9.1 (07-Sep-2017)

Expand Down
10 changes: 9 additions & 1 deletion src/main/java/com/fasterxml/jackson/annotation/JsonFormat.java
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,15 @@ public enum Shape
* Value that indicates that (JSON) boolean type
* (true, false) should be used.
*/
BOOLEAN
BOOLEAN,

/**
* Value that indicates that Binary type (native, if format supports it;
* encoding using Base64 if only textual types supported) should be used.
*
* @since 2.10
*/
BINARY
;

public boolean isNumeric() {
Expand Down

0 comments on commit c961356

Please sign in to comment.