PostGIS  2.2.7dev-r@@SVN_REVISION@@
Datum postgis_libjson_version ( PG_FUNCTION_ARGS  )

Definition at line 32 of file lwgeom_in_geojson.c.

33 {
34 #ifndef HAVE_LIBJSON
35  PG_RETURN_NULL();
36 #else /* HAVE_LIBJSON */
37 # ifdef JSON_C_VERSION
38  const char *ver = json_c_version();
39 # else
40  const char *ver = "UNKNOWN";
41 # endif
42  text *result = cstring2text(ver);
43  PG_RETURN_POINTER(result);
44 #endif
45 }