[][src]Macro mynewt::coap_item_str

macro_rules! coap_item_str {
    (@cbor $parent:ident, $key:expr, $val:expr) => { ... };
    (@json $parent:ident, $key:expr, $val:expr) => { ... };
}

Append a (key + val string value) item to the array named parent: { <parent>: [ ..., {"key": <key>, "value": <val>} ] }