public class JsonQueryOrderingPropertyConverter extends JsonObjectConverter<QueryOrderingProperty>
Modifier and Type | Field and Description |
---|---|
protected static JsonArrayConverter<List<QueryOrderingProperty>> |
ARRAY_CONVERTER |
static String |
DIRECTION |
protected static JsonQueryOrderingPropertyConverter |
INSTANCE |
static String |
QUERY_PROPERTY |
static String |
QUERY_PROPERTY_FUNCTION |
static String |
RELATION |
static String |
RELATION_CONDITIONS |
Constructor and Description |
---|
JsonQueryOrderingPropertyConverter() |
Modifier and Type | Method and Description |
---|---|
JSONObject |
toJsonObject(QueryOrderingProperty property) |
QueryOrderingProperty |
toObject(JSONObject jsonObject) |
toJson
protected static JsonQueryOrderingPropertyConverter INSTANCE
protected static JsonArrayConverter<List<QueryOrderingProperty>> ARRAY_CONVERTER
public static final String RELATION
public static final String QUERY_PROPERTY
public static final String QUERY_PROPERTY_FUNCTION
public static final String DIRECTION
public static final String RELATION_CONDITIONS
public JSONObject toJsonObject(QueryOrderingProperty property)
toJsonObject
in class JsonObjectConverter<QueryOrderingProperty>
public QueryOrderingProperty toObject(JSONObject jsonObject)
toObject
in class JsonObjectConverter<QueryOrderingProperty>
Copyright © 2019. All rights reserved.