273 questions
1
vote
0
answers
63
views
JSON Schema Validation of nested JSON objects using Karate DSL
I am trying to perform JSON Schema validation of below API response.
I have two records retrieved in the response in which "paymentSummary" object is populated in 1st record and not ...
0
votes
1
answer
2k
views
Extracting keys of nested json in PowerAutomate
I'm trying to use Microsoft Power Automate to extract the values for the property "name" from the JSON object shown below:
{"sites": {
"1": {
&...
-2
votes
1
answer
36
views
How to map through values in nested object
Below is my nested object.
editedFields {
"TAX_INFORMATION": {
"TAX VALUE INFORMATION": {
"Improvement Value": "$812,57"
}
}
}
const ...
0
votes
0
answers
49
views
How to utilize a nested object for a prepopulated Vuetify form
I have started to use typescript to try and build more consistent models which are requested and sent to my API endpoints. However, I am struggling with using these complex object types as models for ...
0
votes
1
answer
41
views
Binding dropdown list from a nested object to a view not working (object reference not set to an instance of an object)
// GET: NCR/CreateQualityRepresentative
public async Task<IActionResult> CreateQualityRepresentative()
{
NCR genNCR = new NCR();
NCRNumber createNCRNumber ...
1
vote
2
answers
921
views
With Formik and Yup, how do I display a form error for a field of a nested object?
I'm using React 18, Ionic 7, Formik 2.4 and Yup 0.32. I have an object with a nested object
export type Person = {
name: string
address: Address
}
The address objecdt is defined as
export type ...
0
votes
1
answer
93
views
Vue multiselect component's label can't read nested property
I have a data structure like this:
Proxy(Array) {
0: { id: 1, machineries_ID: 2, machinery: { id: 2, en_name: 'Digital MRI', pa_name: 'ډیجیټل ام ار ای', model_no: '2022', company_id: 1, ... } },
1:...
0
votes
1
answer
86
views
Check and Uncheck logic between Parent item and child items in React JS
In React JS, I'm facing the issue that all model children are selected when i click the Brand.
If I uncheck the Brand, all model children are going to hide.
Help me to write a logic that Ex:- If I ...
0
votes
2
answers
115
views
Is there a way to set attribute to sub objects in a class?
I would like to be able to do this:
>>> obj = Example('hi', 'hello')
>>> obj.a
'hi'
>>> obj.sub_obj.b
'hello'
I try this but I get AttributeError: 'dict' object has no ...
0
votes
1
answer
57
views
Getting hold of dynamically generated object with the help of selectors
I am doing this todolist project, where I can create projects and inside each project I would have the ability to add tasks, now the solution I found was to create an array of task object inside of ...
0
votes
0
answers
70
views
How we can add and update both in nested array object in MongoDB C#
Here is the MongoDB document that I want to update the serviceName first then add or update both for nested object of vehicle at the same time. Anyone can help to achieve this in C#?
{
"...
0
votes
1
answer
384
views
React update nested objects with input name
Lets imagine we have the following state:
const [sample,setSample] = useState({
key:{
value:'',
otherValue:''
}
});
Now we all know that if we use name=key on an input like ...
0
votes
2
answers
68
views
How to change value of keys in multiple nested objects at once in JavaScript
let obj = { name : "raj" , age : 23 , second : {
name : "suraj" , location : "mumbai" } ,
third : { name : "arjun" , age : 34 , friend : ...
0
votes
1
answer
97
views
Search for multiple values within the hierarchy of the same specified folder in a flat representation of a tree structure in a Postgres jsonb table
Data structure:
The table has an PK 'id' and a jsonb column 'data'. The 'data' contains an array of objects 'instances'. Each 'instance' has some values and a 'path' array. The 'path' array is a flat ...
0
votes
1
answer
79
views
Sorting array of objects in Javascript
I want to sort the data on the basis of the property activeSince but it is not sorted as expected. Here is the code that is being used to sort the data and the data is given as well.
What are the ...