User bio
404 bio not found
Member since Mar 29, 2018
Posts:
Replies:
Eduard, thank you very much again, with the% WriteJSONFromObject function I was able to solve a performance issue. Using WriteJSONStreamFromObject () was taking 1 minute, with% WriteJSONFromObject going to 3 seconds!
Great Eduard! It worked perfectly, thank you very much!!!
Certifications & Credly badges:
Leonardo has no Certifications & Credly badges yet.
Global Masters badges:
![Open Sesame!](https://community.intersystems.com/sites/default/files/badges/303371180-6de11138-f4e7-4113-b5cc-836269f07693.png)
![1,000 Points](https://community.intersystems.com/sites/default/files/badges/290121674-53216c4b-fe0c-44e7-9d75-2f24390135ed.png)
![Challenge Starter](https://community.intersystems.com/sites/default/files/badges/295959213-b83dd91a-663f-4f07-8e0e-e3287b7c2309.png)
![5,000 Points](https://community.intersystems.com/sites/default/files/badges/290121698-6976e2e4-084b-4026-bc5f-728c5e1ebe41.png)
![10K Points](https://community.intersystems.com/sites/default/files/badges/290121716-e7d970ee-2b18-423a-8871-5cc231687a22.png)
![Challenge Pro](https://community.intersystems.com/sites/default/files/badges/295959188-ff491b32-f0e9-4485-ad40-1c6db234985a.png)
![20K Points](https://community.intersystems.com/sites/default/files/badges/290121739-e1a39538-d83e-4205-9906-8e6466bf9371.png)
Followers:
Leonardo has no followers yet.
Following:
Leonardo has not followed anybody yet.
Hello Gabriel, you can use the% ZEN classes, as the example below:
{
Set tSC = $$$OK
Try{
Set Store = ##class(%ZEN.proxyObject).%New(),
Clients = ##class(%ListOfObjects).%New(),
Client = ##class(%ZEN.proxyObject).%New() Set Client.code = 1,
Client.name = "Leonardo"
Do Clients.Insert(Client)
Set Store.name = "Intersystems Store",
Store.address = "80 Delancey St, New York, NY",
Store.clients = Clients
$$$THROWONERROR(tSC, ##class(%ZEN.Auxiliary.jsonProvider).%WriteJSONStreamFromObject(.JsonStore,Store))
Write JsonStore.Read()
} Catch tException {
Set:$$$ISOK(tSC) tSC = tException.AsStatus()
}
Quit tSC
}