Class JsonWriter.SearchResultSerializer

  • All Implemented Interfaces:<SearchResponse>
    Enclosing class:

    private static class JsonWriter.SearchResultSerializer
    extends Object
    Serializes a SearchResponse by creating a json array to contain the entries. Each entry is a json object with the DN represented as a json primitive. Each attribute contains a json array of values.
    • Constructor Detail

      • SearchResultSerializer

        private SearchResultSerializer()
    • Method Detail

      • serialize

        public serialize​(SearchResponse result,
                                                     Type type,
        Specified by:
        serialize in interface<SearchResponse>