I need to create an object of a subclass in the subclass itself but outside of all the methods of the subclass. In the code below, I want to create an object of
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
The following two different code snippets seem equivalent to me: var myArray = Array(); myArray['A'] = "Athens"; myArray['B'] = "Berlin"; and var myObject =
All these three objects have the exact same property and values. Is there any way to simplify the code and make it shorter? const MyMap = { 'myObject': {
I have been bashing my head about this and can't seem to figure it out. In another engine, I could make a struct, then make an array of that struct that I could
This is the base class class Product{ protected: string model; double price; int qty; public:
I want to merge values from an array into a static nested object. The array containing the values is something like this, ['name=ABC XYZ', 'hobbies=[M,N,O,P]',
I want to merge values from an array into a static nested object. The array containing the values is something like this, ['name=ABC XYZ', 'hobbies=[M,N,O,P]',
In this object, I want to print out an array in the form of [userName, skills]. I know that these objects don't have indexes. Is it possible to detect the skill
myString = {AcquirerName=abc, AcquiringBankCode=0.2, ApprovalCode=00}; I want to convert it to the following string. {"AcquirerName": "abc", "AcquiringBankCode
Really confused on how to access just the age of a specific student where all the information of students have been stored in a textfile. I am reading the textf
In this simple code can anyone explain me what's wrong ? public class Main { public class UserValidator { public void validateName(String
I have been working on my final project, where we are supposed to create a tank game in tkinter. I have done the movement, however i´ve been struggling wi
In Microsoft Excel VBA I need to create a class that has two properties, "Name" and "Holdings". "Name" is just a string so the code for that is easy. But I ne
react.js is complicated sometimes, I'm trying to access an information of a state, I have an array which has one object inside, and in this object, there is ano
I'm working on Talend open studio for Big Data and connected to a MongoDB Database , however i can't extract complex subfields objects from my collections, some
What is the best way to go call a function, given a string with the function's name in a Python program. For example, let's say that I have a module foo, and I
I have an existing table. I have the td cells displayed as blocks intentionally. :) My goal is to add labels inside each of the td's by creating spans with a sp
i have an object and with specific key a assign an array denemeobject['items'] = Object.values( JSON.parse(results.rows.item(index).BarcodeArr