aboutsummaryrefslogtreecommitdiff
path: root/src/include/utils/json.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/utils/json.h')
-rw-r--r--src/include/utils/json.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/include/utils/json.h b/src/include/utils/json.h
index b75f7d929dd..35a9a5545d8 100644
--- a/src/include/utils/json.h
+++ b/src/include/utils/json.h
@@ -26,5 +26,6 @@ extern Datum json_build_object_worker(int nargs, Datum *args, bool *nulls,
bool unique_keys);
extern Datum json_build_array_worker(int nargs, Datum *args, bool *nulls,
Oid *types, bool absent_on_null);
+extern bool json_validate(text *json, bool check_unique_keys, bool throw_error);
#endif /* JSON_H */