Download pgsql/include/server/utils/json.h from codekingpro/portable-devtools: direct link, hf CLI and curl.
- Browser
- Download file 1.06 kB
-
https://huggingface.co/datasets/codekingpro/portable-devtools/resolve/df58e70f9edde36aaca2d2aacc2440dd6c2f807d/pgsql/include/server/utils/json.h
- Command line
-
hf download hf://datasets/codekingpro/portable-devtools@df58e70f9edde36aaca2d2aacc2440dd6c2f807d/pgsql/include/server/utils/json.h
-
curl -L -o json.h https://huggingface.co/datasets/codekingpro/portable-devtools/resolve/df58e70f9edde36aaca2d2aacc2440dd6c2f807d/pgsql/include/server/utils/json.h
1.06 kB
| /*------------------------------------------------------------------------- | |
| * | |
| * json.h | |
| * Declarations for JSON data type support. | |
| * | |
| * Portions Copyright (c) 1996-2023, PostgreSQL Global Development Group | |
| * Portions Copyright (c) 1994, Regents of the University of California | |
| * | |
| * src/include/utils/json.h | |
| * | |
| *------------------------------------------------------------------------- | |
| */ | |
| /* functions in json.c */ | |
| extern void escape_json(StringInfo buf, const char *str); | |
| extern char *JsonEncodeDateTime(char *buf, Datum value, Oid typid, | |
| const int *tzp); | |
| extern bool to_json_is_immutable(Oid typoid); | |
| extern Datum json_build_object_worker(int nargs, Datum *args, bool *nulls, | |
| Oid *types, bool absent_on_null, | |
| 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); | |