Create a new list_object to be used to represent either a JSON Object or a JSON Array.
Upon return the caller must check the result, if it is NULL no list_object was created.
- Parameters
-
| [in] | list_type | Either JSON_object or JSON_array. Depending on what type of list_object you need to create. When created the correct default JSON D-List search and compare functions will be attached to the new list_object. |
| [in] | functions | NULL normal usage, create list_object with default search and compare functions. Pointer to array of functions, override the defaults with these search and compare functions. |
- Return values
-
| pointer | to the list_object of the new list created. |
| NULL | if an internal error occurred. |