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

Definition at line 47 of file lwgeom_in_geojson.c.

48 {
49 #ifndef HAVE_LIBJSON
50  PG_RETURN_NULL();
51 #else /* HAVE_LIBJSON */
52 # ifdef JSON_C_VERSION
53  const char *ver = json_c_version();
54 # else
55  const char *ver = "UNKNOWN";
56 # endif
57  text *result = cstring2text(ver);
58  PG_RETURN_POINTER(result);
59 #endif
60 }