Package org.nuxeo.user.preferences.io
Class UserPreferencesJsonReader
java.lang.Object
org.nuxeo.ecm.core.io.marshallers.json.AbstractJsonReader<UserPreferences>
org.nuxeo.ecm.core.io.marshallers.json.EntityJsonReader<UserPreferences>
org.nuxeo.user.preferences.io.UserPreferencesJsonReader
- All Implemented Interfaces:
Marshaller<UserPreferences>,Reader<UserPreferences>
@Setup(mode=SINGLETON,
priority=2000)
public class UserPreferencesJsonReader
extends EntityJsonReader<UserPreferences>
- Since:
- 2025.16
-
Field Summary
Fields inherited from class org.nuxeo.ecm.core.io.marshallers.json.AbstractJsonReader
ctx, registry -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected UserPreferencesreadEntity(com.fasterxml.jackson.databind.JsonNode jn) Implement this method to read the entity.Methods inherited from class org.nuxeo.ecm.core.io.marshallers.json.EntityJsonReader
readMethods inherited from class org.nuxeo.ecm.core.io.marshallers.json.AbstractJsonReader
accept, getBooleanField, getLongField, getNode, getStringField, getStringListField, read, readEntity
-
Constructor Details
-
UserPreferencesJsonReader
public UserPreferencesJsonReader()
-
-
Method Details
-
readEntity
Description copied from class:EntityJsonReaderImplement this method to read the entity.- Specified by:
readEntityin classEntityJsonReader<UserPreferences>- Parameters:
jn- AJsonNodepointing at the root of the json input.- Returns:
- The parsed entity.
-