private static class JsonWriter.SearchResultSerializer extends Object implements com.google.gson.JsonSerializer<SearchResult>
SearchResult
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.Modifier | Constructor and Description |
---|---|
private |
SearchResultSerializer() |
Modifier and Type | Method and Description |
---|---|
com.google.gson.JsonElement |
serialize(SearchResult result,
Type type,
com.google.gson.JsonSerializationContext context) |
public com.google.gson.JsonElement serialize(SearchResult result, Type type, com.google.gson.JsonSerializationContext context)
serialize
in interface com.google.gson.JsonSerializer<SearchResult>
Copyright © 2003-2019 Virginia Tech. All Rights Reserved.