org.hibernate.search.elasticsearch.schema.impl.model

## Class ElasticsearchFormatJsonAdapter

- java.lang.Object
- - com.google.gson.TypeAdapter<List<String>>
  - - org.hibernate.search.elasticsearch.schema.impl.model.ElasticsearchFormatJsonAdapter

-     public class ElasticsearchFormatJsonAdapter
      extends com.google.gson.TypeAdapter<List<String>>

  Author:
    Yoann Rodiere

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `ElasticsearchFormatJsonAdapter()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `List<String>` | `read(com.google.gson.stream.JsonReader in)`
    `void` | `write(com.google.gson.stream.JsonWriter out, List<String> value)`

    - ### Methods inherited from class com.google.gson.TypeAdapter

      `fromJson, fromJson, fromJsonTree, nullSafe, toJson, toJson, toJsonTree`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### ElasticsearchFormatJsonAdapter

          public ElasticsearchFormatJsonAdapter()

  - ### Method Detail

    - #### write

          public void write(com.google.gson.stream.JsonWriter out,
                            List<String> value)
                     throws IOException

      Specified by:
        `write` in class `com.google.gson.TypeAdapter<List<String>>`
      Throws:
        `IOException`

    - #### read

          public List<String> read(com.google.gson.stream.JsonReader in)
                            throws IOException

      Specified by:
        `read` in class `com.google.gson.TypeAdapter<List<String>>`
      Throws:
        `IOException`

Copyright © 2006-2017 Red Hat, Inc. All Rights Reserved