Class JSONSource

    • Field Detail

      • DEFAULT_GSON

        @NotNull
        public static final @NotNull com.google.gson.Gson DEFAULT_GSON
      • gson

        @NotNull
        protected final @NotNull com.google.gson.Gson gson
      • rootSection

        @Nullable
        protected @Nullable SourcedSection rootSection
    • Constructor Detail

      • JSONSource

        protected JSONSource​(@NotNull
                             @NotNull ConfigurationHolder<? extends JSONSource> holder,
                             @NotNull
                             @NotNull java.io.File file,
                             @Nullable
                             @Nullable java.lang.String resourcePath)
      • JSONSource

        protected JSONSource​(@NotNull
                             @NotNull ConfigurationHolder<? extends JSONSource> holder,
                             @NotNull
                             @NotNull java.io.File file,
                             @Nullable
                             @Nullable java.lang.String resourcePath,
                             @NotNull
                             @NotNull com.google.gson.Gson gson)