| Updated: October 28, 2024 |
Map a key to a JSON object
#include <pips/multimap.h>
int pips_multimap_add_json(pips_multimap_t *multimap,
const char *key,
const char *json_data)
This function creates a mapping in the current multimap instance by associating a JSON object with the given key. The mapping is created only if the given key is not already mapped to another value, so this function cannot be used to update a key's value, only to create a new mapping.