@JsonbAnnotation @Retention(RUNTIME) @Target({ANNOTATION_TYPE,FIELD,METHOD,TYPE,PARAMETER,PACKAGE}) public @interface JsonbNumberFormat
Annotation provides way how to set custom number format to field or JavaBean property.
The pattern format is specified in DecimalFormat
Usage
The @JsonbNumberFormat annotation can be used with the following program elements:
| Modifier and Type | Fields | Description |
|---|---|---|
static String |
DEFAULT_LOCALE |
Value that indicates that default
Locale. |
String value
Copyright © 1996-2017, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.