Class ObjectToJsonTransformer
Inheritance
System.Object
ObjectToJsonTransformer
Assembly: Steeltoe.Integration.IntegrationBase.dll
public class ObjectToJsonTransformer : AbstractTransformer, ITransformer
Constructors
|
Edit this page
View Source
ObjectToJsonTransformer(IApplicationContext, Type)
Declaration
public ObjectToJsonTransformer(IApplicationContext context, Type resultType = null)
Parameters
Type |
Name |
Description |
IApplicationContext |
context |
|
Type |
resultType |
|
Properties
|
Edit this page
View Source
ContentType
Declaration
public string ContentType { get; set; }
Property Value
Type |
Description |
System.String |
|
|
Edit this page
View Source
Declaration
public Encoding DefaultCharset { get; set; }
Property Value
Type |
Description |
Encoding |
|
|
Edit this page
View Source
Declaration
public Type ResultType { get; set; }
Property Value
|
Edit this page
View Source
Declaration
public JsonSerializerSettings Settings { get; set; }
Property Value
Type |
Description |
JsonSerializerSettings |
|
Methods
|
Edit this page
View Source
Declaration
protected override object DoTransform(IMessage message)
Parameters
Type |
Name |
Description |
IMessage |
message |
|
Returns
Type |
Description |
System.Object |
|
Overrides
Implements