Event.createEventFromJSON()

Signature

Event createEventFromJSON(String uri, String json)

Domain

ACTION, BUI

Description

This function returns a event instance using the json . The JSON String should adhere to the XSD schema corresponding to the event definition.
If it is desired to strip the whitespace from source XML then set the property java.property.tibco.be.createEventFromXML.stripwhitespace to true in be-engine.tra, the default value of this property is false.

Parameters

NameTypeDescription
uriStringwill use the XML to parse the namespace and create the corresponding event.
jsonStringJSON string to be parsed

Returns

TypeDescription
Eventreturns an event instance

Cautions

none