public class JsonReader extends Object implements SearchResultReader
Reader and returns a SearchResult.| Constructor and Description |
|---|
JsonReader(Reader reader)
Creates a new json reader.
|
JsonReader(Reader reader,
SortBehavior sb)
Creates a new json reader.
|
| Modifier and Type | Method and Description |
|---|---|
SearchResult |
read()
Reads JSON data from the reader and returns a search result.
|
public JsonReader(Reader reader)
reader - to read JSON frompublic JsonReader(Reader reader, SortBehavior sb)
reader - to read JSON fromsb - sort behavior of the search resultpublic SearchResult read() throws IOException
read in interface SearchResultReaderIOException - if an error occurs using the readerCopyright © 2023. All rights reserved.