public class SortOrderParser
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static UnboundSortOrder |
fromJson(com.fasterxml.jackson.databind.JsonNode json) |
static SortOrder |
fromJson(Schema schema,
com.fasterxml.jackson.databind.JsonNode json) |
static SortOrder |
fromJson(Schema schema,
com.fasterxml.jackson.databind.JsonNode json,
int defaultSortOrderId) |
static SortOrder |
fromJson(Schema schema,
java.lang.String json) |
static UnboundSortOrder |
fromJson(java.lang.String json) |
static java.lang.String |
toJson(SortOrder sortOrder) |
static java.lang.String |
toJson(SortOrder sortOrder,
boolean pretty) |
static void |
toJson(SortOrder sortOrder,
com.fasterxml.jackson.core.JsonGenerator generator) |
static java.lang.String |
toJson(UnboundSortOrder sortOrder) |
static java.lang.String |
toJson(UnboundSortOrder sortOrder,
boolean pretty) |
static void |
toJson(UnboundSortOrder sortOrder,
com.fasterxml.jackson.core.JsonGenerator generator) |
public static void toJson(SortOrder sortOrder, com.fasterxml.jackson.core.JsonGenerator generator) throws java.io.IOException
java.io.IOException
public static java.lang.String toJson(SortOrder sortOrder)
public static java.lang.String toJson(SortOrder sortOrder, boolean pretty)
public static void toJson(UnboundSortOrder sortOrder, com.fasterxml.jackson.core.JsonGenerator generator) throws java.io.IOException
java.io.IOException
public static java.lang.String toJson(UnboundSortOrder sortOrder)
public static java.lang.String toJson(UnboundSortOrder sortOrder, boolean pretty)
public static SortOrder fromJson(Schema schema, com.fasterxml.jackson.databind.JsonNode json, int defaultSortOrderId)
public static SortOrder fromJson(Schema schema, com.fasterxml.jackson.databind.JsonNode json)
public static UnboundSortOrder fromJson(java.lang.String json)
public static UnboundSortOrder fromJson(com.fasterxml.jackson.databind.JsonNode json)