# Understanding protocol for using it in embedded

**URL:** <https://discuss.jsonapi.org/t/understanding-protocol-for-using-it-in-embedded/1770>\
**Category:** Meeting Minutes\
**Created:** [December 2, 2019, 6:42am UTC](https://discuss.jsonapi.org/t/understanding-protocol-for-using-it-in-embedded/1770 "2019-12-02T06:42:45Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![sstarkloff](https://avatars.discourse-cdn.com/v4/letter/s/71c47a/32.png) [@sstarkloff](https://discuss.jsonapi.org/u/sstarkloff)\
**Post date:** [December 2, 2019, 6:42am UTC](https://discuss.jsonapi.org/t/understanding-protocol-for-using-it-in-embedded/1770/1 "2019-12-02T06:42:45Z")

</div>

As I see that JSON protocol is so popular, I’m planning to implement JSON protocol in order to remote control a device with embedded software.  
I think, for example: **{“module”:“relays”,“activate”:1}** , and I think this is OK with the protocol  
But, I see that, perhaps this is not the “style” of doing this, and more preferable something like: **{“module”:“relays”, “method”:“activate”,“params”:{“relay\_no”:1}}**  
Because we’re talking of an embedded system, first one is much more efficient  
Can somebody give me an advice about this?  
Thank you very much  
Sergio
