Class ZoneJsonLoader


public class ZoneJsonLoader extends JsonLoader<SeedStringResource, Zone>
A json loader for loading Zone instances from JSON data.
  • Constructor Details

    • ZoneJsonLoader

      public ZoneJsonLoader(@Nonnull SeedString<SeedStringResource> seed, @Nonnull Path dataFolder, @Nonnull com.google.gson.JsonElement json, @Nonnull ZoneFileContext zoneContext)
      Default Constructor for a ZoneJsonLoader instance.
      Parameters:
      seed - The seed string for resource identification.
      dataFolder - The data folder path.
      json - The JSON element to load from.
      zoneContext - The context of the zone file being loaded.
  • Method Details