Skip to main content

All Questions

Tagged with
0 votes
0 answers
14 views

Creating an XML object collection

I have an XML file and that needs to be converted into a specific json format with Items in it. Items will be a collection where it can have 1 or 2 items in it based on my XML file. When i am `trying ...
Neha Rastogi's user avatar
0 votes
2 answers
93 views

Access inner keys in json data in typescript

I have this following object { "Monday": [ { "morning": [ { "start_time": "02:00", ...
user3653474's user avatar
  • 3,709
0 votes
1 answer
90 views

use a value instead of an index in array object

I can't seem to format my array that is being saved to localStorage. Can you change the index value of an array? I have an array object like this: const myArray = [{id: 41, name: "x"}, {id: ...
artworkjpm's user avatar
  • 1,317
-2 votes
1 answer
21 views

Unable to append the object creation while loop for the JSON format [closed]

I am unable to append the result object to existing one, Can anyone pls help me here Here is my data var data = []; data.push("result"); while(inc.next()){ data.push({ "...
jvk's user avatar
  • 2,187
0 votes
1 answer
75 views

Append new keys to a JSON array

I have this JSON array that Zabbix retrieves as a string and each object has the keys "startTime" and "endTime" which are date-time strings in the format of "DD-MM-YYYY HH:mm:...
markfree's user avatar
  • 183
0 votes
1 answer
48 views

How can I return matching query from array of objects?

I have an array of JSON objects to be output, where if the user enters an input the system will return the matching records, looking at name, mobileNumber, hobbies and gender. <template> <...
red17's user avatar
  • 77
1 vote
3 answers
126 views

Type Mismatch Object and Integer

m.CurrDateObject = FindCurrDateObject(m.itemContent.date) ?"title :"m.CurrDateObject.title //Here I got Type Mismatch Error When 0 comes ?"text :"m.CurrDateobject.text '...
Nikunj Chaklasiya's user avatar
0 votes
0 answers
16 views

My data from axios doesn't save in my global variable [duplicate]

I just wrote a function to fetch users from "reqres.in" with axios. I just cant save the data in my global variable but in the function with console.log everything is fine! This is my code ...
Hoomaan's user avatar
  • 21
1 vote
1 answer
100 views

Need to get data out of a Powershell Object after ConvertFrom-Json

I am doing an API call that is returning a json to my powershell script and is then run through the ConvertFrom-Json function to be a PS object. Some of the fields I'm able to access through $object....
Ryan Koven's user avatar
2 votes
4 answers
95 views

Merge json objects into one

I'm trying to merge some json objects using jq. It seems too complicated for me ^^ I have a JSON which looks like this [ { "name": "test_name", "cpu": "1&...
amans san's user avatar
0 votes
1 answer
94 views

How can I make new arrays for each respective element inside of my object which consists of four arrays total to dynamically generate a week forecast?

I am back again! I am almost done with the same project from which my most recent question is also derived. I have hit a huge bump in the road. Pretty much, I am trying to make a 7 day forecast ...
vaahtlnirn1's user avatar
0 votes
4 answers
57 views

Advanced Filter array of objects based on condition if its nested object has required property in it

I am trying to solve a difficult computation but i am not reaching anywhere. can someone please help Here is a simple example. const filterCityBy = "NY"; const data = [ { name: "...
Aren Trot's user avatar
  • 473
0 votes
0 answers
23 views

How to loop through an object's keys and access information from each seperately [duplicate]

Each product key is nested with more objects. I can't seem to get an idea of how to get information from each product seperately. The code below shows what i'm trying to do. I know that it doesn't ...
Robinski's user avatar
0 votes
2 answers
125 views

OpenEdge JSON with a extent propertry

I'm having trouble reading a JSON that has a extent[6] data property. This is the JSON: { "SalesRep": [ { "SalesRep": "BBB", &...
SSosa's user avatar
  • 3
0 votes
0 answers
39 views

UiPath : Read value as String from EventObjectIDType[]

I'm facing an issue to read a value from uipath workday - launch eib IntegrationEvent Output variable. See attached image for variable type and the value i want to read is the "a428838...0000&...
Bouzzz's user avatar
  • 13

15 30 50 per page