snapshot to JSON


Follow
0
Star
0
Details
Releases
Issues
This application is not supported by InterSystems Corporation. Use it at your own risk.
Use %JSON.Adaptor for object snapshot
This is a coding example working on IRIS 2020.2
It will not be kept in sync with new versions      
It is also NOT serviced by InterSystems Support !   

This is a sample to use %JSON.Adaptor class available in IRIS to produce a snapshot of your object.

The sample consists of 2 classes that are variations of what was known in Caché/SAMPLES as Sample.Person. Be aware that the possibilities are limited by %JSON.Adapter and how you make use of it.

Once in place you create some test data by Populate().
You select an object and take a snapshot. You apply changes to your object take another snapshot. And see the difference.

BINGO!

Article in DC

ZPM installation
zpm "install json-snapshot"
Category
Technology Example
Works with
InterSystems IRIS
Tags
Info
Version
1.0.2
Last updated
2020-07-24
Repository
Open
Documentation
Open
License
Link