org.apache.synapse.commons.emulator

## Class TreeMapTypeAdapterFactory

- java.lang.Object
- - org.apache.synapse.commons.emulator.TreeMapTypeAdapterFactory

- All Implemented Interfaces:
    com.google.gson.TypeAdapterFactory

      public class TreeMapTypeAdapterFactory
      extends Object
      implements com.google.gson.TypeAdapterFactory

  Class responsible for holding the JSON data as a tree-map.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `TreeMapTypeAdapterFactory()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `<T> com.google.gson.TypeAdapter<T>` | `create(com.google.gson.Gson gson, com.google.gson.reflect.TypeToken<T> type)`

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

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

- - ### Constructor Detail

    - #### TreeMapTypeAdapterFactory

          public TreeMapTypeAdapterFactory()

  - ### Method Detail

    - #### create

          public final <T> com.google.gson.TypeAdapter<T> create(com.google.gson.Gson gson,
                                                                 com.google.gson.reflect.TypeToken<T> type)

      Specified by:
        `create` in interface `com.google.gson.TypeAdapterFactory`

Copyright © 2005–2020 Apache Software Foundation. All rights reserved.