.. py:function:: set_pragma_json(object_, id, data) Serialize a Python object to a JSON document in a textual pragma. An existing pragma with the same ID is updated with the text or deleted if the object is ``None`` or empty. See the :ref:`pragma_json ` example. :Parameters: **object\_** : :obj:`suite.Object` Element to attach the pragma to. **id** : :class:`python:str` ID of the pragma. **data** : :obj:`object` Python object to serialize to a JSON document. :Returns: :ref:`bool ` ``True`` if the object is modified, ``False`` otherwise. .. !! processed by numpydoc !!