org.hibernate.search.elasticsearch.impl

## Class JsonBuilder

- java.lang.Object
- - org.hibernate.search.elasticsearch.impl.JsonBuilder

-     public class JsonBuilder
      extends Object

  Builder used to make the Gson API chainable.
  Author:
    Guillaume Smet

- - ### Nested Class Summary

    Nested Classes
    Modifier and Type | Class and Description
    --- | ---
    `static class` | `JsonBuilder.Array`
    `static interface` | `JsonBuilder.JsonAppender<T>` An interface for reusable objects that append data to a JSON object.
    `static class` | `JsonBuilder.Object`

  - ### Method Summary

    All Methods Static Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `static JsonBuilder.Array` | `array()`
    `static JsonBuilder.Array` | `array(com.google.gson.JsonArray jsonArray)`
    `static JsonBuilder.Object` | `object()`
    `static JsonBuilder.Object` | `object(com.google.gson.JsonObject jsonObject)`

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

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

- - ### Method Detail

    - #### array

          public static JsonBuilder.Array array()

    - #### array

          public static JsonBuilder.Array array(com.google.gson.JsonArray jsonArray)

    - #### object

          public static JsonBuilder.Object object()

    - #### object

          public static JsonBuilder.Object object(com.google.gson.JsonObject jsonObject)

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