Questions tagged as 'json'

1
answer

Help with three.js in express.js

I want to upload a .json format with objLoader of three.js, everything works perfect in webpack dev-server but when I try to open it through Expressjs The error appears: this is my threejs code group = new THREE.Group(); const objLoader...
asked by 03.10.2018 / 00:54
1
answer

I can not create or modify a JSON type column in MySQL

I'm trying to add a column to store JSON objects in my MySQL database. My configuration is as follows: Versión de MySQL: 5.6.32-78.1. Engine de la tabla: MyIsam. Base de datos alojada en un hosting compartido (Bluehost) I've tried...
asked by 22.05.2018 / 15:34
1
answer

Convert an array of objects to JSON

You see, I have the following problem, I have a field of type hidden on a page asp.net that has as value a list of objects serialized with JSON from C# . The value of hidden is the following text: [{ "Eleme...
asked by 09.05.2018 / 17:35
1
answer

Put query results in a JSON array

Friends, see if you can help me solve this dilemma. I am getting a JSON from a query to the database in which several tables are involved. That JSON is then presented in an Android app. I would like to present in my JSON a key called sa...
asked by 22.02.2018 / 12:33
3
answers

AngularJS returns UNDEFINED to me in the RETURN

It happens that I have this function, which should return me a string in JSON , but it's not like that, it returns me undefined , why? $scope.get = function(id, tabla){ var data; if(id=="") {...
asked by 22.02.2017 / 16:15
1
answer

Mapping a json in jas

Good afternoon, can someone help me map this json in a javascript ? [{ "header": { "nav" : {"option1":"menu 1"} } }] so that this stays this way <header> <nav> <li></li> </nav&...
asked by 12.01.2017 / 18:20
1
answer

Text in bold from a json

There is some way to make a fraction of the text in a json in Android Studio 2.3 go bold, just like line breaks are done. I have this json: { "array_texto":[ { "texto"":"Hola mundo", "texto":"Esto es un hola mundo" } ] }...
asked by 13.10.2017 / 17:30
1
answer

Create pdf report with ireport in netbeans with JSON as datasource

I am new programming in java and I have encountered a small problem, I am generating a pdf report taking as datasource a JSON file, but I have not managed to pass the JSON to JasperFillManager.fillReport to generate the pdf, if I c...
asked by 14.10.2016 / 21:49
1
answer

JQuery UI slider in 2 hour range

JSON: { "saturday":[ { "start":"09:00", "stop":"10:00" }, { "start":"12:00", "stop":"13:00" } ],"sunday":[ { "start":"13:00",...
asked by 19.10.2016 / 07:51
3
answers

spring boot does not serialize json

I am developing a web application with spring boot. When I make a query using a jparepositoy of the findAll type, I intend to obtain the list of users and their corresponding role. In the response obtained, all the properties of my entity...
asked by 19.07.2016 / 12:24