DigitalTwinStringSerializer Class
- java.
lang. Object - com.
fasterxml. jackson. databind. ser. std. StdSerializer<String> - com.
microsoft. azure. sdk. iot. service. digitaltwin. serialization. DigitalTwinStringSerializer
- com.
- com.
public class DigitalTwinStringSerializer
Configures the StdSerializer with custom behavior needed to work with Digital Twins REST API.
Constructor Summary
Constructor | Description | |
---|---|---|
DigitalTwinStringSerializer(Class<String> t, ObjectMapper mapper) |
Method Summary
Modifier and Type | Method and Description |
---|---|
void | serialize(String s, JsonGenerator jsonGenerator, SerializerProvider serializerProvider) |
Constructor Details
DigitalTwinStringSerializer
public DigitalTwinStringSerializer(Class
Parameters:
t
mapper
Method Details
serialize
public void serialize(String s, JsonGenerator jsonGenerator, SerializerProvider serializerProvider)
Parameters:
s
jsonGenerator
serializerProvider
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for Java