@Deprecated public class JSONSerializers extends Object
ObjectSerializer
instances that produce various flavors of JSON.Modifier and Type | Method | Description |
---|---|---|
static ObjectSerializer |
getLegacy() |
Deprecated.
Returns an
ObjectSerializer that mostly conforms to the strict JSON format defined in
extended JSON, but with a few differences to keep
compatibility with previous versions of the driver. |
static ObjectSerializer |
getStrict() |
Deprecated.
Returns an
ObjectSerializer that conforms to the strict JSON format defined in
extended JSON. |
public static ObjectSerializer getLegacy()
ObjectSerializer
that mostly conforms to the strict JSON format defined in
extended JSON, but with a few differences to keep
compatibility with previous versions of the driver. Clients should generally prefer getStrict
in preference to this method.getStrict()
public static ObjectSerializer getStrict()
ObjectSerializer
that conforms to the strict JSON format defined in
extended JSON.