src/Web.cpp
/// <summary>
/// Event called when a valid json message was received. 
/// Consumes the proper values for this sensor.
/// </summary>
/// <param name="root">The root json object.</param>
/// <param name="shieldEvent">The shield event.</param>

Event called when a valid json message was received.
Consumes the proper values for this sensor.

The root json object.
The shield event.
Event called when a valid json message was received . Consumes the proper values for this sensor . The root json object . The shield event .
void Web::onJsonReceived(JsonObject& root, ShieldEvent* shieldEvent)
{
	response = shieldEvent->result;
	resultId = shieldEvent->resultId;
	Sensor::onJsonReceived(root, shieldEvent);
}
void Web :: onJsonReceived ( JsonObject & root , ShieldEvent * shieldEvent ) { response = shieldEvent -> result ; resultId = shieldEvent -> resultId ; Sensor :: onJsonReceived ( root , shieldEvent ) ; }
<summary>
Event called when a valid json message was received.
<summary > Event called when a valid json message was received .