+/*
+ * Copyright (c) 2009-2011 Petri Lehtinen <petri@digip.org>
+ *
+ * Jansson is free software; you can redistribute it and/or modify
+ * it under the terms of the MIT license. See LICENSE for details.
+ */
+
#include <stdlib.h>
#include <string.h>
int main(int argc, char *argv[])
{
- unsigned int i;
+ size_t i;
char *text;
char url[URL_SIZE];
if(!text)
return 1;
- root = json_loads(text, &error);
+ root = json_loads(text, 0, &error);
free(text);
if(!root)