|
LOM2M
0.8.0
|
#include <JsonMapper.h>
Static Public Member Functions | |
| static int | mapRequestPrimitive (RequestPrimitive &req, JsonObject o) |
| static int | parseRequestPrimitive (JsonObject o, RequestPrimitive *req) |
| static int | mapResponsePrimitive (ResponsePrimitive &resp, JsonObject o) |
| static int | parseResponsePrimitive (JsonObject o, ResponsePrimitive *resp) |
Provide specifi mapping and parsing methods dedicated to request and response primitives Useful for protocol binding such as MQTT
|
static |
Map Request primitive to JsonObject
| req | the request to map |
| o | json object (ArduinoJson) to fill |
|
static |
Map Response primitive to JsonObject
| resp | the response to map |
| o | json object (ArduinoJson) to fill |
|
static |
Parse json to fill a request primitive object
| o | json object (ArduinoJson) |
| req | the request primitive to fill |
|
static |
Parse json to fill a response primitive object
| o | json object (ArduinoJson) |
| resp | the response primitive to fill |