Class SearchResultJsonator
- java.lang.Object
-
- com.atlassian.confluence.json.jsonator.SearchResultJsonator
-
- All Implemented Interfaces:
Jsonator<SearchResult>
public class SearchResultJsonator extends Object implements Jsonator<SearchResult>
-
-
Constructor Summary
Constructors Constructor Description SearchResultJsonator(ContextPathHolder context, I18NBeanFactory i18NBeanFactory, UserPreferencesAccessor userPreferencesAccessor, FormatSettingsManager formatSettingsManager, LocaleManager localeManager)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Json
convert(SearchResult result)
Creates aJson
representation of a given object
-
-
-
Constructor Detail
-
SearchResultJsonator
public SearchResultJsonator(ContextPathHolder context, I18NBeanFactory i18NBeanFactory, UserPreferencesAccessor userPreferencesAccessor, FormatSettingsManager formatSettingsManager, LocaleManager localeManager)
- Since:
- 7.16
-
-
Method Detail
-
convert
public Json convert(SearchResult result)
Description copied from interface:Jsonator
Creates aJson
representation of a given object- Specified by:
convert
in interfaceJsonator<SearchResult>
- Parameters:
result
- the object to be serialized- Returns:
- Json JSON representation of the given object
-
-