Class JsonConverter
- java.lang.Object
-
- org.pac4j.oauth.profile.converter.JsonConverter
-
- All Implemented Interfaces:
org.pac4j.core.profile.converter.AttributeConverter
public final class JsonConverter extends java.lang.Object implements org.pac4j.core.profile.converter.AttributeConverter
This class converts a JSON node (or string) into an object.- Since:
- 1.9.0
- Author:
- Jerome Leleu
-
-
Constructor Summary
Constructors Constructor Description JsonConverter(java.lang.Class<? extends java.lang.Object> clazz)
JsonConverter(java.lang.Class<? extends java.lang.Object> clazz, com.fasterxml.jackson.core.type.TypeReference<? extends java.lang.Object> typeReference)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Object
convert(java.lang.Object attribute)
-