code: public static FeatureCollection fromJson(@NonNull String json) {
  
      GsonBuilder gson = new GsonBuilder();
      gson.registerTypeAdapterFactory(GeoJsonAdapterFactory.create());
      gson.registerTypeAdapterFactory(GeometryAdapterFactory.create());
      return gson.create().fromJson(json, FeatureCollection.class);
    }
docs: Create a new instance of this class by passing in a formatted valid JSON String. If you are
  creating a FeatureCollection object from scratch it is better to use one of the other provided
  static factory methods such as {@link #fromFeatures(List)}.
  
  @param json a formatted valid JSON string defining a GeoJson Feature Collection
  @return a new instance of this class defined by the values passed inside this static factory
  method
  @since 1.0.0