com.holonplatform.json.gson

## Class GsonConfiguration

- java.lang.Object
- - com.holonplatform.json.gson.GsonConfiguration

- All Implemented Interfaces:
    Serializable

      public final class GsonConfiguration
      extends Object
      implements Serializable

  Utility class to handle Gson configuration.
  Since:
    5.0.0
  See Also:
    Serialized Form

- - ### Method Summary

    All Methods Static Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `static com.google.gson.GsonBuilder` | `builder()` Create a `GsonBuilder`, registering serializers and deserializers for `PropertyBox` type handling.
    `static void` | `configure(com.google.gson.GsonBuilder builder)` Configure given Gson `GsonBuilder`, registering serializers and deserializers for `PropertyBox` type handling.

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

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

- - ### Method Detail

    - #### builder

          public static com.google.gson.GsonBuilder builder()

      Create a `GsonBuilder`, registering serializers and deserializers for `PropertyBox` type handling.
      Returns:
        GsonBuilder

    - #### configure

          public static void configure(com.google.gson.GsonBuilder builder)

      Configure given Gson `GsonBuilder`, registering serializers and deserializers for `PropertyBox` type handling.
      Parameters:
        `builder` - GsonBuilder (not null)

Copyright © 2017 The Holon Platform. All rights reserved.