Class ObjectToJsonTransformer
- Namespace
- Steeltoe.Integration.Transformer
- Assembly
- Steeltoe.Integration.IntegrationBase.dll
public class ObjectToJsonTransformer : AbstractTransformer, ITransformer
- Inheritance
-
ObjectToJsonTransformer
- Implements
- Inherited Members
Constructors
ObjectToJsonTransformer(IApplicationContext, Type)
public ObjectToJsonTransformer(IApplicationContext context, Type resultType = null)
Parameters
context
IApplicationContextresultType
Type
Properties
ContentType
public string ContentType { get; set; }
Property Value
DefaultCharset
public Encoding DefaultCharset { get; set; }
Property Value
ResultType
public Type ResultType { get; set; }
Property Value
Settings
public JsonSerializerSettings Settings { get; set; }
Property Value
- JsonSerializerSettings
Methods
DoTransform(IMessage)
protected override object DoTransform(IMessage message)
Parameters
message
IMessage