Questions tagged as 'object'

1
answer

How to capture an Object in the route (Route) of the PUT in a controller?

is that I have a PUT and I want to capture the value of the field that I am going to update, but in the database in SQL_Variant , so to do it I have to send an object when sending it to the database , this is my PUT [HttpPut("{empid}/{co...
asked by 24.10.2018 / 18:52
1
answer

Dictionaries in Python vs Javascript Objects

I have a question as to whether the Dict in Python and the Object in Javascript are the same concept and since I consider that if they do the same. Example in Python nombres = {} nombres['Yoel'] = 1 nombres['Manolito'] = 2 nom...
asked by 20.09.2017 / 09:35
2
answers

Empty properties of a polyline type object?

Empty properties of a polilyne type object I need to empty a polilyne type object so that it can be reused as many times as needed, I want the properties to remain empty, for example the object when you have values has something like that l...
asked by 23.09.2017 / 02:21
2
answers

Problems referencing an Object

I am calling a class that I have already used, I have instantiated it and in my Login fragment if it runs normally but in my Client_Visit fragment I get an error: E/AndroidRuntime: FATAL EXCEPTION: main Process: sie.progrsist...
asked by 04.08.2018 / 00:41
1
answer

Search an object with a string or an int

I have a list with templates based on an array and what I try to do is to find the position of what I entered, either an integer or a string, but whenever I try, the program tells me that it can not convert an integer or a string to my object, o...
asked by 24.02.2018 / 07:36
2
answers

Problem Typescript Error Type 'Object' is not assignable to type 'string'

I am trying to send an information with ajax that is the following import { Component } from '@angular/core'; import { NavController } from 'ionic-angular'; import { Proveedor1Provider } from '../../providers/proveedor1/proveedor1'; import { A...
asked by 26.07.2018 / 09:25
1
answer

How to examine objects in Node.js?

I assign a variable to an object, I do console.log with it with intention to find out and examine what is inside the object, but when I start the code in console ( CLI ) ( PowerShell ), this console.log simply returns the following: [object]...
asked by 22.05.2017 / 14:50
2
answers

Parse data from an object inside a JSON in Angular2

I followed this tutorial to create a table with a JSON in Angular 2 . link My question is, if I had a JSON of this type: {"visitas": [{ "_id": "586b5d313406cd103c3f38d5", "fecha":"01-ene-2017", "paciente": { "_...
asked by 31.01.2017 / 22:36
2
answers

how do I get the values inside an object in javascript

I have the following object, this content by a key KqTiAo1cC0nmASiGr941 in a normal object just say obj.rut and get the rut, but in this case the parent key -KqTiAo1cC0nmASiGr941 is present if I want to get the key I do it...
asked by 02.08.2017 / 23:24
1
answer

Why can not I create two sub-levels within an object?

var objeto = { sub1_A: {}, sub1_B: {}, sub1_C: {} } I have no problems if I do the following: objeto.sub1_A.sub2 = "Prueba"; But yes if I descend a level more directly: objeto.sub1_A.sub2.sub3 = "Prueba"; If I try to set the...
asked by 28.08.2018 / 15:39