php-internal-docs 8.4.8
Unofficial docs for php/php-src
Loading...
Searching...
No Matches
php_json_encoder.h File Reference
#include "php.h"
#include "zend_smart_str.h"

Go to the source code of this file.

Data Structures

struct  _php_json_encoder
 

Typedefs

typedef struct _php_json_encoder php_json_encoder
 

Functions

zend_result php_json_encode_zval (smart_str *buf, zval *val, int options, php_json_encoder *encoder)
 
zend_result php_json_escape_string (smart_str *buf, const char *s, size_t len, int options, php_json_encoder *encoder)
 

Typedef Documentation

◆ php_json_encoder

Definition at line 23 of file php_json_encoder.h.

Function Documentation

◆ php_json_encode_zval()

zend_result php_json_encode_zval ( smart_str * buf,
zval * val,
int options,
php_json_encoder * encoder )

Definition at line 659 of file json_encoder.c.

◆ php_json_escape_string()

zend_result php_json_escape_string ( smart_str * buf,
const char * s,
size_t len,
int options,
php_json_encoder * encoder )

Definition at line 368 of file json_encoder.c.