Class SearchResultSerialiser


  • public class SearchResultSerialiser
    extends org.codehaus.jackson.map.JsonSerializer<SearchResult>
    JSON Serialiser for SearchResult objects
    Since:
    4.3
    • Constructor Detail

      • SearchResultSerialiser

        public SearchResultSerialiser()
    • Method Detail

      • serialize

        public void serialize​(SearchResult searchResult,
                              org.codehaus.jackson.JsonGenerator jgen,
                              org.codehaus.jackson.map.SerializerProvider provider)
                       throws IOException,
                              org.codehaus.jackson.JsonProcessingException
        Specified by:
        serialize in class org.codehaus.jackson.map.JsonSerializer<SearchResult>
        Throws:
        IOException
        org.codehaus.jackson.JsonProcessingException