{"push_id":663198091,"size":4,"distinct_size":4,"ref":"refs/heads/api_json_str","head":"2cb3be0338471fcc436c2dc5506eae0be1ea3d38","before":"1853508dce1ab07e68469b2e5d044477e9459f5b","commits":[{"sha":"4b393dc5723bd507be8ca065d489827c3d3c3877","author":{"email":"90eebc3ed9e472707552aa1f0850807e64b4e5e4@gmail.com","name":"Jim Garlick"},"message":"libflux: add event encode/decode functions\n\nThese functions use json_str for payload, const topic strings,\nand offer a improved/more complete interface.\n\nflux_event_decode()\nflux_event_encode()\nflux_event_vencodef()\nflux_event_encodef()\n\nAdded unit tests for the new functions.","distinct":true,"url":"https://api.github.com/repos/garlick/flux-core/commits/4b393dc5723bd507be8ca065d489827c3d3c3877"},{"sha":"860135e6b32df88d4908a956220ff0c5f5ea3ebb","author":{"email":"90eebc3ed9e472707552aa1f0850807e64b4e5e4@gmail.com","name":"Jim Garlick"},"message":"libflux: drop flux_json_event_decode()\n\nConvert users of flux_json_event_decode() to flux_event_decode()\nand Jfromstr().","distinct":true,"url":"https://api.github.com/repos/garlick/flux-core/commits/860135e6b32df88d4908a956220ff0c5f5ea3ebb"},{"sha":"19adc40158a784be91090a85046256b68e6863d1","author":{"email":"90eebc3ed9e472707552aa1f0850807e64b4e5e4@gmail.com","name":"Jim Garlick"},"message":"libflux: change flux_event_send, flux_event_recv\n\nChange flux_event_send() and flux_event_recv() prototypes\nto handle zmsg_t's encoded/decoded with flux_event_encode()\nand flux_event_decode().\n\nUpdate users of flux_event_send() to\n- convert json_object payload (if any) to string with Jtostr (obj)\n- create zmsg with flux_event_encode()\n- send it with flux_event_send()\n\nUpdate users of flux_event_recv() to\n- recv zmsg with flux_event_recv()\n- decode it with flux_event_decode ()\n- convert payload (if any) to json_object with Jfromstr (str)\n\nThere is one complication with converting to flux_event_recv().\nSince flux_event_decode() requires that the caller knows in advance\nwhether there is a payload, in a few cases, such as in flux-event\nand the lua bindings, where the code is not handling a specific\nprotocol, is was necessary to use the lower level message payload\naccessor instead of flux_event_decode().","distinct":true,"url":"https://api.github.com/repos/garlick/flux-core/commits/19adc40158a784be91090a85046256b68e6863d1"},{"sha":"2cb3be0338471fcc436c2dc5506eae0be1ea3d38","author":{"email":"90eebc3ed9e472707552aa1f0850807e64b4e5e4@gmail.com","name":"Jim Garlick"},"message":"libflux: drop flux_msg_get_payload_json\n\nConvert users of flux_msg_get_payload_json() to\n- flux_msg_get_payload_json_str() to get json_str\n- Jfromstr (json_str) to get json_object\n\nConvert users of flux_msg_set_payload_json() to\n- Jtostr (obj) to convert json_object to json_str\n- flux_msg_set_payload_json_str()\n\nThen finally remove\nflux_msg_get_payload_json()\nflux_msg_set_payload_json()","distinct":true,"url":"https://api.github.com/repos/garlick/flux-core/commits/2cb3be0338471fcc436c2dc5506eae0be1ea3d38"}]}