Below is a list of frequently used functions.
List of frequently used functions
Name | Description |
---|---|
json_array | Returns a new JSON array. |
json_array_append_new | Appends value to the end of array. |
json_array_foreach | Iterate over all the elements of the array and return a value. |
json_array_size | Returns the number of elements in array. |
json_decref | Release JSON reference count |
json_dump_file | Save the JSON contents to a file |
json_dumps | Returns the JSON content as a string |
json_false | Returns the JSON false value. |
json_integer | Returns a new JSON integer. |
json_integer_value | Returns the associated value of integer. |
json_is_array | Determine the JSON array. |
json_is_false | Determine the JSON boolean value false. |
json_is_integer | Determine the JSON integer value. |
json_is_null | Determine JSON null. |
json_is_object | Determine the JSON object. |
json_is_real | Determine the JSON real value. |
json_is_string | Determine the JSON string. |
json_is_true | Determine the JSON boolean value true. |
json_loads | Convert a JSON string to JSON. |
json_null | Returns the JSON null value. |
json_object | Returns a new JSON object. |
json_object_foreach_safe | Iterate over all key / value pairs and returns a value. |
json_object_set_new | Set the value of the object with the value of the key. |
json_object_size | Returns the number of elements in object. |
json_pack | Set the JSON value |
json_real | Returns a new JSON real. |
json_real_value | Returns the associated value of real. |
json_string | Returns a new JSON string. |
json_string_value | Returns the associated value of string as a null terminated UTF-8 encoded string. |
json_true | Returns the JSON true value. |
json_typeof | Returns the type of the JSON value. |
json_unpack | Get the JSON value |
Last updated: 2022/01/26