mirror of
https://github.com/obsproject/obs-studio.git
synced 2024-07-04 10:33:30 +00:00
docs: Document newer JSON serialization functions
This commit is contained in:
parent
94d158c425
commit
e54af0d559
|
@ -78,6 +78,30 @@ General Functions
|
|||
|
||||
---------------------
|
||||
|
||||
.. function:: const char *obs_data_get_json_with_defaults(obs_data_t *data)
|
||||
|
||||
Same as :c:func:`obs_data_get_json()` but default values are also serialized.
|
||||
|
||||
:return: Json string for this object
|
||||
|
||||
---------------------
|
||||
|
||||
.. function:: const char *obs_data_get_json_pretty(obs_data_t *data)
|
||||
|
||||
Same as :c:func:`obs_data_get_json()` but the JSON data is pretty-printed.
|
||||
|
||||
:return: Json string for this object
|
||||
|
||||
---------------------
|
||||
|
||||
.. function:: const char *obs_data_get_json_pretty_with_defaults(obs_data_t *data)
|
||||
|
||||
Same as :c:func:`obs_data_get_json_pretty()` but default values are also serialized.
|
||||
|
||||
:return: Json string for this object
|
||||
|
||||
---------------------
|
||||
|
||||
.. function:: const char *obs_data_get_last_json(obs_data_t *data)
|
||||
|
||||
Returns the last json string generated for this data object. Does not
|
||||
|
|
Loading…
Reference in a new issue