Class SortOrderParser


  • public class SortOrderParser
    extends java.lang.Object
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static SortOrder fromJson​(Schema schema, com.fasterxml.jackson.databind.JsonNode json)  
      static SortOrder fromJson​(Schema schema, 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)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • toJson

        public static void toJson​(SortOrder sortOrder,
                                  com.fasterxml.jackson.core.JsonGenerator generator)
                           throws java.io.IOException
        Throws:
        java.io.IOException
      • toJson

        public static java.lang.String toJson​(SortOrder sortOrder)
      • toJson

        public static java.lang.String toJson​(SortOrder sortOrder,
                                              boolean pretty)
      • fromJson

        public static SortOrder fromJson​(Schema schema,
                                         java.lang.String json)
      • fromJson

        public static SortOrder fromJson​(Schema schema,
                                         com.fasterxml.jackson.databind.JsonNode json)