diff options
| author | Andrei Zmievski <andrei@php.net> | 2009-05-31 01:43:45 +0000 |
|---|---|---|
| committer | Andrei Zmievski <andrei@php.net> | 2009-05-31 01:43:45 +0000 |
| commit | 426522f4e0dbaf4f5840121878d603c21397d78e (patch) | |
| tree | 9c93f4f3987329c94249f00cd73c86e87c6d1417 /ext/json/php_json.h | |
| parent | 06a48156f01af766bef67e997029adbfe9d0b6a8 (diff) | |
| download | php-git-426522f4e0dbaf4f5840121878d603c21397d78e.tar.gz | |
Expose encode/decode API.
Diffstat (limited to 'ext/json/php_json.h')
| -rw-r--r-- | ext/json/php_json.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ext/json/php_json.h b/ext/json/php_json.h index d6da68a605..11a92bf559 100644 --- a/ext/json/php_json.h +++ b/ext/json/php_json.h @@ -42,6 +42,9 @@ extern zend_module_entry json_module_entry; #define JSON_G(v) (json_globals.v) #endif +PHPAPI void php_json_encode(smart_str *buf, zval *val TSRMLS_DC); +PHPAPI void php_json_decode(zval *return_value, char *buf, int buf_len, zend_bool assoc); + #endif /* PHP_JSON_H */ |
