public interface LightningHandlerContext
Modifier and Type | Method and Description |
---|---|
static LightningHandlerContext |
parseContext(javax.json.JsonObject jsonObject)
Factory method to parse lightning context json data into value objects.
|
static LightningHandlerContext parseContext(javax.json.JsonObject jsonObject) throws javax.json.JsonException
jsonObject
- the json data to parse. reades the type field from the object
and creates an instance of the related object.javax.json.JsonException
- if json data couldn't be parsed.