Class JsonUtils

java.lang.Object
com.ardoq.adapter.JsonUtils

public class JsonUtils
extends Object
  • Constructor Details

  • Method Details

    • removeReservedNullVaules

      public static void removeReservedNullVaules​(com.google.gson.JsonObject jsonObject)
      Removes keys from json object if they have null values. Won't touch fields as users may want to explicitly set them to null
      Parameters:
      jsonObject - json object to be cleaned