I have created a package to export a Global into JSON object file and to re-create it by reloading from this file
embeddedPython refers to the new available technologies. It should be understood as a learning exercise of
how to handle the language interfaces. Only Global nodes containing data are presented in the generated JSON file.
Differently from the previous example, this one is using embedded Python only, no ObjectScript. Therefore PURE
We export this Global
This is the file content
And the related Loader creates exactly the same Global
Online Demo added
Online Demo Terminal
Online Demo SMP
Dear Robert,
Your video is already on InterSystems Developers YouTube:
⏯ GlobalToJson Embedded Python Pure
https://www.youtube.com/embed/grH5M7AdYwk
[This is an embedded link, but you cannot view embedded content directly on the site because you have declined the cookies necessary to access it. To view embedded content, you would need to accept all cookies in your Cookies Settings]
Please enjoy!