Class JsonSorter


  • public final class JsonSorter
    extends java.lang.Object
    Helper class for sorting json array of objects by keys For test usages only. Not designed for production code
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void sortJsonEntriesByKeys​(com.fasterxml.jackson.databind.JsonNode jsonNode, java.util.List<java.lang.String> orderedKeys)
      Sorts a arrays of objects based on sort keys For test usages only.
      • Methods inherited from class java.lang.Object

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

      • sortJsonEntriesByKeys

        public static void sortJsonEntriesByKeys​(com.fasterxml.jackson.databind.JsonNode jsonNode,
                                                 java.util.List<java.lang.String> orderedKeys)
        Sorts a arrays of objects based on sort keys For test usages only. Not designed for production code