<div dir="ltr"><div>Hi all</div><div> </div><div>With mochijson2 i am encoding to json:</div><div> </div><div><span><span><span>D = mochijson2:encode({struct, [{"id", Id}]})</span></span></span></div><div><span><span><span></span></span></span> </div>
<div><span><span><span>Now i would like to pass D to rabbitMQ as a payload , but in order to do that, it should be binary, how i can do that ?</span></span></span></div><div><span><span><span></span></span></span> </div>
<div><span><span><span> Thomas</span></span></span></div></div>