Class Adapter

java.lang.Object
overit.geocall.util.gson.Adapter

public class Adapter extends Object
Class Adapter for gson
  • Method Details

    • cast

      public static Object cast(Object o, String where, Adapter.Cast ac)
      The path are of type JSONPath, that is $.fieldA.fieldB[pos0].fieldC[*][pos3].* where the name and the positions can be *
      Parameters:
      o - List or Map
      where - That is the filter
      ac - The cast
      Returns:
      The cast
    • cast

      protected static Object cast(Object o, Path cursor, Adapter.Cast ac, Path filter, boolean cast)