test_json.c
Go to the documentation of this file.
1 #include "../csm/csm.h"
2 
3 int main() {
4 
5  LDP ld = ld_alloc_new(50);
6  JO jo = ld_to_json(ld);
7 
8  printf("%s", json_object_to_json_string(jo));
9 
10  return 0;
11 }
ld_alloc_new
LDP ld_alloc_new(int nrays)
Definition: laser_data.c:12
main
int main()
Definition: test_json.c:3
laser_data
Definition: laser_data.h:16
json_object
Definition: json_object_private.h:21
ld_to_json
JO ld_to_json(LDP ld)
Definition: laser_data_json.c:134
json_object_to_json_string
const char * json_object_to_json_string(struct json_object *this)
Definition: json_object.c:199


csm
Author(s): Andrea Censi
autogenerated on Wed Aug 17 2022 02:50:34