skip to navigation
skip to content

collective.regjsonify 0.1.0

Export Plone registry content to a JSON compatible Python structure

Latest Version: 0.2.0


Quickly export the content of a Plone registry configuration (defined by an interface) in a Python structure compatible with JSON format:

import json
from collective.regjsonify.interfaces import IJSONifier
from plone.registry.interfaces import IRegistry
from zope.component import queryUtility

registry = queryUtility(IRegistry)
settings = registry.forInterface(IYouInterfaceSettings)
python_data = IJSONifier(settings).json()
json_data = json.dumps(python_data)


The package came with a default set of know data types that cover common fields used in Plone registry. However this set can be not complete if you are saving in the registry an unknown custom type.

During export operation unknown data are ignored.

If you want to export other types you must manually provide the proper IJSONFieldDumper adapter:



0.1.0 (2014-05-02)

  • Initial release
File Type Py Version Uploaded on Size (md5) Source 2014-05-02 19KB
  • Downloads (All Versions):
  • 1 downloads in the last day
  • 39 downloads in the last week
  • 213 downloads in the last month