The jsonutils module contains tools to create JSON data from various ELTK objects.
The ComplexEncoder class is an extension that creates JSON compatible with the javascript Extjs.TreePanel class.
makeInstance is necessary so that JSON doens’t turn everything into a string during a recursive dump.
Parameter: | inst (OWLClass) – an instance of an OWLClass |
---|---|
Return type: | dict |