toJson method

String toJson()

Implementation

String toJson() {
  return SearchResultHitMapper.ensureInitialized()
      .encodeJson<SearchResultHit>(this as SearchResultHit);
}