Click or drag to resize

EPRenderEventServiceRenderJSON Method (String, EventBean)

Quick-access method to render a given event in the JSON format.

Use the #getJSONRenderer to obtain a renderer instance that allows repeated rendering of the same type of event. For performance reasons obtaining a dedicated renderer instance is the preferred method compared to repeated rendering via this method.

Namespace:  com.espertech.esper.common.client.render
Assembly:  NEsper.Common (in NEsper.Common.dll) Version: 8.0.0.0
Syntax
C#
string RenderJSON(
	string title,
	EventBean theEvent
)

Parameters

title
Type: SystemString
the JSON root title
theEvent
Type: com.espertech.esper.common.clientEventBean
the event to render

Return Value

Type: String
JSON formatted text
See Also