Class JsonWriter

    • Field Detail

      • jsonWriter

        private final Writer jsonWriter
        Writer to write to.
      • gson

        private final com.google.gson.Gson gson
        To convert a search result to JSON.
    • Constructor Detail

      • JsonWriter

        public JsonWriter​(Writer writer)
        Creates a new json writer.
        Parameters:
        writer - to write JSON to