#define __NEXTHOP_GROUP__
#include <vty.h>
+#include "json.h"
#ifdef __cplusplus
extern "C" {
extern void nexthop_group_write_nexthop(struct vty *vty, struct nexthop *nh);
+extern void nexthop_group_json_nexthop(json_object *j, struct nexthop *nh);
+
/* Return the number of nexthops in this nhg */
extern uint8_t nexthop_group_nexthop_num(const struct nexthop_group *nhg);
extern uint8_t