I have the following sample data in a .txt file 111, Sybil, 21 112, Edith, 22 113, Mathew, 30 114, Mary, 25 the required output is [{"number":"111","name":"Syb
I am calling methods with parameters like this: methodName(Object... param). These methods I can't change. To keep my code a bit more dynamic, I have lists whic
I have this Object: { "data": { "success": true, "historical": true, "date": "2022-01-01", "base": "MXN", "rates": { "COFFEE": 0.021
I have this sample data and I wanted to filter it where the colors are less than 20 or equal to 20: const data = [ { name: "Item1", colors: { green: 8 } },
I have a file .txt containing some values formatted like this: 0,30,25,10 Now, I open up the file and store it into an array char imposta_tratt[300]; FILE *f
I am tasked with creating a C code that does what page-replacement algorithms do. The code is barely 200 lines, so I will try to send some portions and hopefull
const data = [ { productId: 6, productName: "pouch", productPrice: 29000, discountRate: 19, optionName: "13inch", optionPrice: 0,
I have 2D ArrayList consisting of Objects, i pass it to a function in another class, like this: public void function(ArrayList<ArrayList<Object>>)..
I want to access each element of my "to" value of the children property in my array. const items = [{ name: 'Administrateur', children: [ { name:
I am trying to access recipeIngredient in this array. I have tried this: <cfloop from="1" to="#ArrayLen(contents)#" index="i"> <cfoutput> #i.recip
I am importing data from 4 sources, their format is: | C | D | E | F | G | H | | 31.03.2022 | * | -60 000 | * | * | Prep
I am trying to create a function that takes form response data and applies it to a template to create a 'completion certificate' with their total scores, then e
my question is really simple (which doesn't imply that the answer will be as simple.. :D ) why do arrays in C++ include the size as part of the type and Java's
I have a nested data structure containing objects and arrays. How can I extract the information, i.e. access a specific or multiple values (or keys)? For examp
I have an array of objects as follow: [ { "card_key": "Edition", "card_value": "Elite Fight Night" }, { "card_key": "Car
I need a javascript code that saves in a variable the _id I'm having trouble getting that _id because it’s inside an array. I have looked everywhere but I
I have various columns in Spark DataFrame, they are nested json columns. In configuration i will provide a list of columns and fields to remove from json. For e
I am trying to get some data from a JSON url using Python and convert in Pandas PD. Everything is working OK. Only there is a column for date. It is coming weir
I am struggling to obtain the correct results for the function with CMSIS DSP bilinear_interp. I've first tried a simple linear interpolation: float test_tabl
I have a little problem when I want to test an array in my unit test. I want to test both structure and type of keys, but I don't know how to process it (I trie