Questions tagged as 'json'

2
answers

What are the ways to avoid infinite recursion without using the JsonIgnore annotation in SpringBoot

I have a @OneToMany relationship between Produto and TipoProduto where TipoProduto can have multiple Produto s and a Produto can only have TipoProduto . I would like to list all Produto s...
asked by 30.10.2017 / 00:33
0
answers

How to make two querys in a JSON?

I'm putting together a map using the mapbox API, creating some points dynamically on the map. I have a JSON that gives me some information (getDados.php), however I wanted to perform one more query within that file and get some more data from ot...
asked by 25.10.2017 / 13:07
2
answers

Treating JSON in C #

I have a return of an HTTP request in JSON format. It comes as follows: { "message": "authenticate" } It's a simple return, but I'm new to C # and would like to know how to assign only the "authenticate" string to a variable. Can anyone...
asked by 14.10.2017 / 15:53
1
answer

Capture line only

I have a table created in array, and the modal button opens a table for selection of units of weight / measure, but when the selection is captured it fills the whole table as in the picture below. How do I fill in the line only? Opentablestr...
asked by 06.11.2017 / 13:48
0
answers

How to calculate Mbps?

I'm getting information from the interface of an internet modem: TXBytes, RXBytes, Uptime It gives me a json entry: Entrada=([[ { "uptime":"15423", "txbytes":"1147089", "rxbytes":"23124634" } ]]) Tab = json.cod(Entrada)...
asked by 11.10.2017 / 05:25
0
answers

Send selected data to an external Json list for e-mail (Fipe Table Query)

$(document).ready(function() { var urlBase = "http://fipeapi.appspot.com/api/1/carros/"; $.getJSON(urlBase + "marcas.json", function(data) { var items = ["<option value=\"\">ESCOLHA UMA MARCA</option>"]; $.each(dat...
asked by 08.10.2017 / 23:12
0
answers

Convert a custom object to JSON in Totalcross

You can serialize a Custom Object to JSON without having to enter field-to-field, such as: JSONObject jsonObject = new JSONObject(); jsonObject.put("id", meuObjeto.id); jsonObject.put("dt_sync", meuObjeto.dtSync); jsonOb...
asked by 05.10.2017 / 20:55
1
answer

Group List with java 8

The input data would be a list of Products as below [ { "id": "123", "ean": "7898100848355", "title": "Cruzador espacial Nikana - 3000m - sem garantia", "brand": "nikana", "price": 820900.90, "stock": 1 }, { "id": "u7042", "ean": "789805480049...
asked by 01.10.2017 / 21:23
0
answers

Json mapping error for Spring boot

I'm getting the msg below, when trying to map a json - Spring Boot   JsonMappingException: Can not construct instance of javax.servlet.http.HttpServletRequest: abstract types either need to be mapped to concrete types In the product class...
asked by 13.10.2017 / 04:18
1
answer

Fill meta description via javascript does Google interpret the code?

I have a JSON {"content":{"description":"Descrição do meu site"}} I wanted to populate the meta name description via javascript <meta name="description" content="" /> I wonder if Google will read this information, otherwise what...
asked by 25.09.2017 / 16:25