You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: spec/src/main/asciidoc/jsonb.adoc
+5
Original file line number
Diff line number
Diff line change
@@ -177,6 +177,7 @@ Implementations MUST support binding of the following standard Java SE classes:
177
177
* java.util.OptionalInt
178
178
* java.util.OptionalLong
179
179
* java.util.OptionalDouble
180
+
* java.util.UUID
180
181
181
182
==== java.math.BigInteger, BigDecimal
182
183
@@ -198,6 +199,10 @@ Instances of type `java.util.Optional<T>` are serialized to a JSON value as JSON
198
199
199
200
Deserialization of a JSON value into `java.util.Optional<T>` MUST be supported if deserialization of a JSON value into instance of T is supported.
200
201
202
+
==== java.util.UUID
203
+
204
+
Serialization of type `java.util.UUID` to a JSON String MUST follow the conversion process defined in the javadoc specification for the `toString()` method. Deserialization of a JSON value into a `java.util.UUID` instance MUST follow the conversion process defined in the javadoc specification for the static `fromString(String)` method.
205
+
201
206
=== Dates
202
207
203
208
Implementations MUST support binding of the following standard Java date/time classes:
<TDalign="center" valign="center"><aname="JSONB:SPEC:JSB-3.4.4-1"></a><fontsize="1PT">JSONB:SPEC:JSB-3.4.4-1</font></TD><TDalign="center" valign="center"><fontsize="1PT">3</font></TD><TDalign="center" valign="center"><fontsize="1PT">3.4.4</font></TD><TDalign="left" valign="center"><fontsize="1PT">Serialization of type java.util.UUID, UUID to a JSON String value MUST follow the conversion process defined in specification for their toString method</font></TD><TDalign="center" valign="center"><fontsize="1PT">true</font></TD><TDalign="center" valign="center"><fontsize="1PT"><a></a>
<TDalign="center" valign="center"><aname="JSONB:SPEC:JSB-3.4.4-2"></a><fontsize="1PT">JSONB:SPEC:JSB-3.4.4-2</font></TD><TDalign="center" valign="center"><fontsize="1PT">3</font></TD><TDalign="center" valign="center"><fontsize="1PT">3.4.4</font></TD><TDalign="left" valign="center"><fontsize="1PT">Deserialization of a JSON value into java.util.UUID, UUID instance MUST follow the conversion process as defined in the specification for the static method java.util.UUID#fromString with java.lang.String input.</font></TD><TDalign="center" valign="center"><fontsize="1PT">true</font></TD><TDalign="center" valign="center"><fontsize="1PT"><a></a>
<TDalign="center" valign="center"><aname="JSONB:SPEC:JSB-3.5-1"></a><fontsize="1PT">JSONB:SPEC:JSB-3.5-1</font></TD><TDalign="center" valign="center"><fontsize="1PT">3</font></TD><TDalign="center" valign="center"><fontsize="1PT">3.5</font></TD><TDalign="left" valign="center"><fontsize="1PT">Implementations MUST support binding of the following standard Java date/time classes: java.util.Date
0 commit comments