2012-01-31 17:48:23 +01:00
|
|
|
/*-------------------------------------------------------------------------
|
|
|
|
*
|
|
|
|
* json.h
|
|
|
|
* Declarations for JSON data type support.
|
|
|
|
*
|
2017-01-03 19:48:53 +01:00
|
|
|
* Portions Copyright (c) 1996-2017, PostgreSQL Global Development Group
|
2012-01-31 17:48:23 +01:00
|
|
|
* Portions Copyright (c) 1994, Regents of the University of California
|
|
|
|
*
|
|
|
|
* src/include/utils/json.h
|
|
|
|
*
|
|
|
|
*-------------------------------------------------------------------------
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef JSON_H
|
|
|
|
#define JSON_H
|
|
|
|
|
2012-06-10 11:43:00 +02:00
|
|
|
#include "lib/stringinfo.h"
|
2012-01-31 17:48:23 +01:00
|
|
|
|
2013-03-29 19:12:13 +01:00
|
|
|
/* functions in json.c */
|
2012-06-10 21:20:04 +02:00
|
|
|
extern void escape_json(StringInfo buf, const char *str);
|
2012-01-31 17:48:23 +01:00
|
|
|
|
2012-02-29 03:52:52 +01:00
|
|
|
#endif /* JSON_H */
|