public class JSONSerializers extends Object
ObjectSerializer
instances that produce various flavors of JSON.Modifier and Type | Method and Description |
---|---|
static ObjectSerializer |
getLegacy()
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()
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.