public class ConstraintViolationSerializer
extends com.fasterxml.jackson.databind.JsonSerializer<org.hibernate.validator.internal.engine.ConstraintViolationImpl>
| Constructor and Description |
|---|
ConstraintViolationSerializer() |
| Modifier and Type | Method and Description |
|---|---|
Class<org.hibernate.validator.internal.engine.ConstraintViolationImpl> |
handledType() |
void |
serialize(org.hibernate.validator.internal.engine.ConstraintViolationImpl constraintViolation,
com.fasterxml.jackson.core.JsonGenerator jsonGenerator,
com.fasterxml.jackson.databind.SerializerProvider serializerProvider)
Writes the JSON form of the Constraint Violation.
|
public Class<org.hibernate.validator.internal.engine.ConstraintViolationImpl> handledType()
handledType in class com.fasterxml.jackson.databind.JsonSerializer<org.hibernate.validator.internal.engine.ConstraintViolationImpl>public void serialize(org.hibernate.validator.internal.engine.ConstraintViolationImpl constraintViolation,
com.fasterxml.jackson.core.JsonGenerator jsonGenerator,
com.fasterxml.jackson.databind.SerializerProvider serializerProvider)
throws IOException
serialize in class com.fasterxml.jackson.databind.JsonSerializer<org.hibernate.validator.internal.engine.ConstraintViolationImpl>constraintViolation - the violationjsonGenerator - the generatorserializerProvider - the providerIOException - if it cannot be serializedCopyright © 2013–2014 Wisdom Framework. All rights reserved.