mirror of
https://github.com/postgres/postgres.git
synced 2025-12-21 05:21:08 +03:00
25 lines
661 B
C
25 lines
661 B
C
/*-------------------------------------------------------------------------
|
|
*
|
|
* json.h
|
|
* Declarations for JSON data type support.
|
|
*
|
|
* Portions Copyright (c) 1996-2022, PostgreSQL Global Development Group
|
|
* Portions Copyright (c) 1994, Regents of the University of California
|
|
*
|
|
* src/include/utils/json.h
|
|
*
|
|
*-------------------------------------------------------------------------
|
|
*/
|
|
|
|
#ifndef JSON_H
|
|
#define JSON_H
|
|
|
|
#include "lib/stringinfo.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);
|
|
|
|
#endif /* JSON_H */
|