diff -r 977a39c4ee80 -r 5aadbc9f27cd test/post-test.php --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/test/post-test.php Fri Jul 20 17:15:53 2012 +0200 @@ -0,0 +1,15 @@ +annotations[0]->id)) { + $data->annotations[0]->id = uniqid("annotation_"); +} + +if (!isset($data->annotations[0]->type)) { + $data->annotations[0]->type = uniqid("annotationType_"); +} + +print_r(json_encode($data)); + +?> \ No newline at end of file