pantry/projects/digip.org/jansson/fixture.c
Lino Le Van 1a0a2f104c
+digip.org/jansson (#390)
* first attempt

* use gcc on linux

---------

Co-authored-by: Max Howell <mxcl@me.com>
2023-02-25 11:35:56 -05:00

11 lines
223 B
C

#include <jansson.h>
#include <assert.h>
int main()
{
json_t *json;
json_error_t error;
json = json_loads("\"foo\"", JSON_DECODE_ANY, &error);
assert(json && json_is_string(json));
json_decref(json);
return 0;
}