This is an automated email from the git hooks/post-receive script.

tjaalton pushed a commit to branch master
in repository jackson-annotations.

commit 8541ebcd5fe7fb972054e95d747f304bc59d5c4a
Author: Ben Fagin <[email protected]>
Date:   Thu May 22 10:01:42 2014 -0700

    update docs after FasterXML/jackson-databind@5087367a0
---
 src/main/java/com/fasterxml/jackson/annotation/JsonFormat.java | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

diff --git a/src/main/java/com/fasterxml/jackson/annotation/JsonFormat.java 
b/src/main/java/com/fasterxml/jackson/annotation/JsonFormat.java
index 99e5b6f..c4868b7 100644
--- a/src/main/java/com/fasterxml/jackson/annotation/JsonFormat.java
+++ b/src/main/java/com/fasterxml/jackson/annotation/JsonFormat.java
@@ -43,7 +43,15 @@ import java.util.TimeZone;
  *    will not work as per-property annotation.
  *   </li>
  *</ul>
- * 
+ * In Jackson 2.4:
+ * <ul>
+ * <li>{@link java.lang.Number} subclasses can be serialized as full objects if
+ *    {@link Shape#OBJECT} is used. Otherwise the default behavior of 
serializing to a
+ *    scalar number value will be preferred. NOTE: can ONLY be used as class 
annotation;
+ *    will not work as per-property annotation.
+ *   </li>
+ *</ul>
+ *
  * @since 2.0
  */
 @Target({ElementType.ANNOTATION_TYPE, ElementType.FIELD, ElementType.METHOD, 
ElementType.PARAMETER,

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-java/jackson-annotations.git

_______________________________________________
pkg-java-commits mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-commits

Reply via email to