org.keycloak.models.map.common

## Class Serialization

- java.lang.Object
- - org.keycloak.models.map.common.Serialization

-     public class Serialization
      extends Object

  Author:
    hmlnarik

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `static com.fasterxml.jackson.databind.ObjectMapper` | `MAPPER`
    `static ConcurrentHashMap<Class<?>,com.fasterxml.jackson.databind.ObjectReader>` | `READERS`
    `static ConcurrentHashMap<Class<?>,com.fasterxml.jackson.databind.ObjectWriter>` | `WRITERS`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `Serialization()`

  - ### Method Summary

    All Methods Static Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `static <T extends AbstractEntity> T` | `from(T orig)`
    `static <T extends AbstractEntity> T` | `from(T orig, String newId)`

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

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

- - ### Field Detail

    - #### MAPPER

          public static final com.fasterxml.jackson.databind.ObjectMapper MAPPER

    - #### READERS

          public static final ConcurrentHashMap<Class<?>,com.fasterxml.jackson.databind.ObjectReader> READERS

    - #### WRITERS

          public static final ConcurrentHashMap<Class<?>,com.fasterxml.jackson.databind.ObjectWriter> WRITERS

  - ### Constructor Detail

    - #### Serialization

          public Serialization()

  - ### Method Detail

    - #### from

          public static <T extends AbstractEntity> T from(T orig)

    - #### from

          public static <T extends AbstractEntity> T from(T orig,
                                                          String newId)

Copyright © 2021 JBoss by Red Hat. All rights reserved.