Class DiagnosticCodeSerializer
java.lang.Object
com.fasterxml.jackson.databind.JsonSerializer<Either<String,Integer>>
com.github._1c_syntax.bsl.languageserver.reporters.databind.DiagnosticCodeSerializer
- All Implemented Interfaces:
JsonFormatVisitable
Сериализатор для
Either
, выступающего в роли хранилища кода диагностики.
См. DiagnosticCode
-
Nested Class Summary
Nested classes/interfaces inherited from class com.fasterxml.jackson.databind.JsonSerializer
JsonSerializer.None
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
serialize
(Either<String, Integer> value, JsonGenerator gen, SerializerProvider serializers) Methods inherited from class com.fasterxml.jackson.databind.JsonSerializer
acceptJsonFormatVisitor, getDelegatee, handledType, isEmpty, isEmpty, isUnwrappingSerializer, properties, replaceDelegatee, serializeWithType, unwrappingSerializer, usesObjectId, withFilterId
-
Constructor Details
-
DiagnosticCodeSerializer
public DiagnosticCodeSerializer()
-
-
Method Details
-
serialize
public void serialize(Either<String, Integer> value, JsonGenerator gen, SerializerProvider serializers) throws IOException- Specified by:
serialize
in classJsonSerializer<Either<String,
Integer>> - Throws:
IOException
-