Questions tagged as 'object'

2
answers

convert an object to json in swift

I am currently wanting to convert an object into swift of this class class UsuarioServer{ var username:String? var password:String? var nombreCompleto:String? var direccion:String? var edad:String? init (username: String, password: String, no...
asked by 24.06.2018 / 10:33
1
answer

Object in Spring form

I have a form in which I have some input in which when filling in with js I pick them up and add them to a hidden input that I have on the page. document.editRouteForm.itinerary.value = itiToObj(); document.editRouteForm.itinerary.value = JSON...
asked by 18.05.2018 / 12:32
2
answers

Is it possible to convert an Object result into an Arrangement in C #?

I have the following method: public List<AnfitrionDto> Seleccionar() { List<AnfitrionDto> ret = new List<AnfitrionDto>(); VisitantesEntities db = new VisitantesEntities();...
asked by 03.05.2018 / 22:59
3
answers

onreadystatechange is it property or method?

A question, like button is an object and onclick its method to be carried out when I do click , why onreadystatechange is a property and not a method? since a xmlhttp (object) I give onreadystatechange as prop...
asked by 20.12.2017 / 13:01
2
answers

array_push changes the values

link As you can see in the example array_push or array_unshift save [data] with the last value. <?php $filters = json_decode(strtolower('{"groupOp":"AND","rules":[{"field":"codigo","op":"cn","data":"ampolla 213"},{"fiel...
asked by 27.11.2017 / 13:12
1
answer

ObjectInputStream does not correctly display the object data

I want a program that reads a serialized file that contains the data of an object called "Comarca": on the one hand it has strings (comarq) and on the other ints (poblacio). The name of the file must be passed as a parameter (go, for the main ar...
asked by 27.09.2017 / 01:29
1
answer

.map () on an array of multilevel objects

I have an object with the following structure: {1:[{1:1, 2:2 ...}, {1:1, 2:2 ...},...] 2:[{1:1, 2:2 ...}, {1:1, 2:2 ...}, ..]} I want to reference the first or second property in a react component stateless with a prop and make map to ren...
asked by 03.12.2018 / 18:45
0
answers

FILL IN MULTIPLE RECYCLERVIEW WITH FIREBASE, ERROR ANDROID STUDIO

I have a problem filling the recyclerview through firebase , I have 3 adapters, two horizontal adapters (one filled with firebase and another directly from the code android studio), and an adapter that orders the two adapters...
asked by 23.11.2018 / 00:10
1
answer

Deserialize JSON to Object in Java

How can I deserialize the attribute properties of Object -> templateComponents to be able to access only the information of latitude, longitude y name ? Right now properties is a String and I need it to be...
asked by 08.11.2018 / 14:44
0
answers

Make a function return an implemented object c ++

I have a class created and that works correctly, in this case it is a Queue, with its attributes and functions. Now I want to create and invoke a function that returns an object of this type but throws me an exception. I have: Cola trocear(cha...
asked by 04.11.2018 / 13:59