icecube.full_event_followup.frame_packet_to_i3live_json module

icecube.full_event_followup.frame_packet_to_i3live_json.frame_packet_to_i3live_json(packet, pnf_framing=False, prio=1, service='hese', varname='heseEvent', topic='heseEvent', data_plus=None)

This will use the boost-serialization-to-pickle interface to serialize I3Frames, compress them, base64-encode the result and wrap it all in I3Live/Moni2.0-compatible JSON. (or optionally just return it as a JSON data payload only in case PnF wants to add the framing.)

icecube.full_event_followup.frame_packet_to_i3live_json.i3live_json_to_frame_packet(json_msg, pnf_framing=True)

Take a JSON packet written by frame_packet_to_i3live_json() and convert it back into a frame packet.