2012-01-31 11:48:23 -05:00
|
|
|
/*-------------------------------------------------------------------------
|
|
|
|
|
*
|
|
|
|
|
* json.h
|
|
|
|
|
* Declarations for JSON data type support.
|
|
|
|
|
*
|
2017-01-03 13:48:53 -05:00
|
|
|
* Portions Copyright (c) 1996-2017, PostgreSQL Global Development Group
|
2012-01-31 11:48:23 -05: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 05:43:00 -04:00
|
|
|
#include "lib/stringinfo.h"
|
2012-01-31 11:48:23 -05:00
|
|
|
|
2013-03-29 14:12:13 -04:00
|
|
|
/* functions in json.c */
|
2012-06-10 15:20:04 -04:00
|
|
|
extern void escape_json(StringInfo buf, const char *str);
|
2012-01-31 11:48:23 -05:00
|
|
|
|
2012-02-28 21:52:52 -05:00
|
|
|
#endif /* JSON_H */
|