I have this type:
type S struct {
a string 'json:"a" xml:"a"'
b int 'json:"b" xml:"b"'
c time.Time 'json:"c" xml:"c"'
}
But neither JSON nor XML works:
s := S{a: "Olá", b: 42, c: time.Now()}
jsonTexto, err := json.Mar...
I made a code in javaScript in which I make requests in php and with the return of a json I populate my html, the problem is that at some point I need to execute the javaScript code but I can not make it stop, $ .post is triggered at the click o...
I'm developing an application using JavaScript and I need to get some information from a JSON file, but this file comes with spaces. I wonder if it's possible to get this information even with the spaces?
{
"Meta Data": {
"1....
I'm developing a program that needs to communicate with an online store, all communication is via HTTP requests and has a JSON response.
Displays the com.google.gson.stream.MalformedJsonException error. I have checked it several times...
I'm using Vraptor 4 and the intent is to create a polygon convert class that does deserialization and which serialize. My problem is just deserializing. How to deserialize a geometric polygon with Gson?
Follow the json where I need to deseria...
There is a system that has sent me a return every day, but I am not able to receive the data to record in the bank, can someone give me a light?
This is the data sent by the system
-H 'Content-Type: application/json' \
-d '{
"uuid":...
I need to install
angularjs-dragula
ng2-dragula
react-dragula
At first I had the error:
C:\Users\email\Desktop\Parafernalia Test> npm install angular js-dragula --save
npm WARN saveError ENOENT: no such file or directory, open 'C:\U...
I have studied about the development of APIs with Laravel, a quick question, is it possible to return an XML instead of a json?
instead of doing:
return response()->json($json);
Do something like:
return response()->xml($xml);...
I'm trying to use JavaScript to dynamically calculate my prices multiplied by the quantities and result in the total for each row, but it calculates the grand total and plays in the last field of the Total column. Like the picture below:...