diff options
author | Andrei Zmievski <andrei@php.net> | 2009-05-31 01:44:07 +0000 |
---|---|---|
committer | Andrei Zmievski <andrei@php.net> | 2009-05-31 01:44:07 +0000 |
commit | efc0927f4f7fa1160d2361a636b11cb5bbd82f51 (patch) | |
tree | aff46350a19c73e6d3e5a1cd07b206294601c12f /ext/json/php_json.h | |
parent | b4d9c79162a59b12a3674695d5d5e3b2d8d70acc (diff) | |
download | php-git-efc0927f4f7fa1160d2361a636b11cb5bbd82f51.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 72fd61fa77..e27d9f9676 100644 --- a/ext/json/php_json.h +++ b/ext/json/php_json.h @@ -40,6 +40,9 @@ ZEND_END_MODULE_GLOBALS(json) # define JSON_G(v) (json_globals.v) #endif +PHPAPI void php_json_encode(smart_str *buf, zval *val, int options TSRMLS_DC); +PHPAPI void php_json_decode(zval *return_value, char *str, int str_len, zend_bool assoc, long depth TSRMLS_DC); + #endif /* PHP_JSON_H */ /* |