Context
I have created a Business Operation (BO) named "Sender" that sends HTTP messages to an endpoint (for testing, I'm using Postman's Mock Servers).
Goal: I want to set up an…
…on properties. Also, there are relationships between them. I had to export one of them to JSON, but I couldn't change the superclasses, or I would break down the flow of many other…
Hi Guys,
I'm using the below code but I'm getting an uncomplete JSON file, so it seems that the command S obj=Httprequest.HttpResponse.Data.Read(Httprequest.HttpResponse.Data.Size…
Did you know that you can get JSON data directly from your SQL tables?
Let me introduce you to 2 useful SQL functions that are used to retrieve JSON data from SQL queries - JSON_A…
Hi,
i have this simple json structure:
{"nTypeTrigger": "ATR","sDate": "2024-04-17 15:29:16","tRefArray": [{"sID":"132"},{"sID":"151"},{"sID":"233"}],"tCountries": []}
I can't f…
Hi ,
I receive below JSON from a https outbound operation
{ "Link": "www.sample.com", "Practice": [ { "Node": "Record1" } ]}
I am able to read Link as - JSON.%Get(…
While working on getting JSON support for some Python libraries, I discovered some capabilities IRIS provided.
JSON_OBJECT - A conversion function that returns data as a JSON ob…
…creating a REST API with InterSystems Ensemble.
I already have a POST route that parses JSON content into an object defined in a class.
To parse the JSON content, I'm using the…
…ew to ObjectScript/Ensemble and I'm sure I may be fundamentally misunderstanding how the %JSONImport/%JSONExport and XDATA mapping work and I was hoping you good folks could help m…
Hello -- Is there a way to load a JSON from a file.
I have a "JSON" file which has a sting 1035164 long with the following format:
[
{
"id": "12345",
"t…
1. Define Persistent ClassCall utility class to fetch json via query.Class Test.JSONFromSQL Extends (%Persistent, %Populate){Property FirstName As %String(POPSPEC = "FirstName()");…
…common to all request)Prop1Prop2 and so on Now in my Business Operation I want to make a json dynamically from this request.Yes obviously I can do is Set requestDefinition = ##cla…
Hi.
It is easy to receive JSON representation or dynamic Array from %ListOfDataTypes:
set l=##class(%ListOfDataTypes).%New()
do l.Insert("a")
do l.Insert("b")
do l.Insert("c…
As Bill has mentioned earlier in his post, we have carefully reviewed the JSON capabilities and made some adjustments to ensure they deliver the best benefit to you. In this post,…
…ess the weather.id weather.main, and weather.description. However, these objects are in a JSON Array.How do you access these three objects in Objectscript.In my, Test.REST.Weather…


