Class ObjectToJsonTransformer
- Namespace
- Steeltoe.Integration.Transformer
- Assembly
- Steeltoe.Integration.IntegrationBase.dll
[Obsolete("This feature will be removed in the next major version. See https://steeltoe.io/docs/v3/obsolete for details.")]
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