Home Applications sqljsonadaptor

sqljsonadaptor Awaiting Review

InterSystems does not provide technical support for this project. Please contact its developer for the technical assistance.
0
0 reviews
0
Awards
8
Views
3
IPM installs
0
0
Details
Releases (1)
Reviews
Issues
Makes %JSON.Adaptor methods accessible via SQL.

What's new in this version

Initial Release

sqljsonadaptor

This class extends the %JSON.Adaptor class. It adds two SqlProc methods that allow return the same results as the original adaptor’s %JSONExportToStream and %JSONExportToString methods view SQL.

Classes that extend this class will be able to run an SQL query as follows:

select mytable_jsonstring(id,mapname) from mytable

where mytable is the table’s name, id is the row’s ID, and mapname is the name of a map defined for the %JSON.Adaptor (optional) and that will return a column containing the same contents you would expect from the %JSONExportToString method. The same is true for mytable_jsonstream if a stream is preferred.

Installation

This class is available via IPM.

install sqljsonadaptor

Made with
Install
zpm install sqljsonadaptor download archive
Version
1.0.025 Feb, 2026
Ideas portal
https://ideas.intersystems.com/ideas/DPI-I-721
Category
Integration
Works with
InterSystems IRIS
First published
25 Feb, 2026
Last edited
25 Feb, 2026