public enum ContentSerializationFormat extends Enum<ContentSerializationFormat>
| Enum Constant and Description |
|---|
CosmosBinary
Custom binary for Cosmos DB that encodes a superset of JSON values.
|
JsonText
Standard JSON RFC UTF-8 text
|
| Modifier and Type | Method and Description |
|---|---|
static ContentSerializationFormat |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ContentSerializationFormat[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ContentSerializationFormat JsonText
public static final ContentSerializationFormat CosmosBinary
public static ContentSerializationFormat[] values()
for (ContentSerializationFormat c : ContentSerializationFormat.values()) System.out.println(c);
public static ContentSerializationFormat valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2020. All rights reserved.