Package fr.gouv.vitam.common.utils

# Class JsonSorter

java.lang.Object
fr.gouv.vitam.common.utils.JsonSorter

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

- ## Method Summary

  Modifier and Type
  Method
  Description
  `static void`
  `sortJsonEntriesByKeys(com.fasterxml.jackson.databind.JsonNode jsonNode, List<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 Details

  - ### sortJsonEntriesByKeys

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