User bio
404 bio not found
Member since Aug 15, 2017
Posts:
Replies:
Seems this trusty bit of code I've been using for a while no longer works on 2025.1
I use this tidbit to get an external ip
curl -s http://whatismyip.akamai.com/
If you want the docker-host ip and not the external ip, I use host networking and then use
hostname -I
Open Exchange applications:
Certifications & Credly badges:
Nicholai has no Certifications & Credly badges yet.
Global Masters badges:
Nicholai has no Global Masters badges yet.
Followers:
Following:
A while back we created JSON2Persistent which does this for you in a consistent way without AI :)
do ##class(ISC.SE.Tools.JSON).GenerateClasses("path/to/sample.json", "MyDataModel.JSONPackage", "ClassName", 0, 1) // or do ##class(ISC.SE.Tools.JSON).GenerateClassesFromStream(jsonStream, "MyDataModel.JSONPackage", "ClassName", 0, 1) // and then use that class Set mymessage = ##class(MyDataModel.JSONPackage.ClassName).%JSONImport(mysourcestringorstream) Set mymessage.%Save() // and it's SQL addressable SELECT * FROM MyDataModel_JSONPackage.ClassName