Questions tagged [json]
JSON (JavaScript Object Notation) is a serializable data interchange format intended to be machine and human readable. Do not use this tag for native JavaScript objects or JavaScript object literals. Before you ask a question, validate your JSON using a JSON validator such as JSONLint (https://jsonlint.com).
309,804
questions
0
votes
0answers
9 views
Changing Main image from Thumb image on mouseover using JSON objects
I have an issue at the moment. I am trying to build a single page web application using jQuery, JSON Bootstrap.
Up to now, I have created a category page, a product selection page, and a item page.
My ...
0
votes
0answers
7 views
Unable to fetch NSE pre-open data from aws machine
I am not sure its an appropriate platform to raise this query but i am trying to fetch Nifty pre-open data from https://www1.nseindia.com/live_market/dynaContent/live_analysis/pre_open/nifty.json
I am ...
0
votes
0answers
15 views
how to do exoplayer video loading app in Android Java, I got confused with this json file, is this correct?
We will give you an api link for video feed you have to setup in android with Exo-player for playing in scroll basis and also 3 video will load in background (prefetch).
for example when app will open ...
0
votes
0answers
23 views
Looping new field JSON on Vue JS
i tried to loop this new field question_scores_attributes on my json structure
this.companyQuestions.map(questions => {
questions.question_scores_attributes = [
{
score: 0,...
0
votes
1answer
26 views
What is the syntax for converting a sample JSON request body (not a response) to a List of c# objects?
This is, I'm sure, a ridiculously simple-minded question, but I'm scope-locked and I can't figure it out
I'm using a c# list of objects to compose a JSON request body
for example, there is a Microsoft ...
1
vote
1answer
16 views
Add new column to dataframe with modified schema or drop nested columns of array type in Scala
json:-
{"ID": "500", "Data": [{"field2": 308, "field3": 346, "field1": 40.36582609126494, "field7": 3, "field4": ...
0
votes
0answers
14 views
Unable to login with Fetch URL method=POST Google App Script
I'm in the process of migrating from Excel VBA to Google Sheet and App Scripts.
The following code work perfectly fine in Excel:
LoginForm1 = "textLogin=" & GPROUsername & "&...
1
vote
0answers
27 views
Pull html table from other source
I am working on a web page which is loading products from JSON file.
Page loaded my important information and there is button which is called more info.
When i click on that button i want to load big ...
-5
votes
1answer
24 views
How can I display the code in a better way?
I can't see the code. Clear what the solution is, knowing that I use var_dump in php to print the data
<?php
$x = file_get_contents("https://youtube.googleapis.com/youtube/v3/commentThreads?...
0
votes
1answer
32 views
My Node js program gives me an error “my add function is not a function”
I'm still new to Node js and i'm bulding a MVC program that POST a json object in POSTMAN. But my add-function (addera()) in the model.js should sum up the values in the json object. When applied ...
1
vote
1answer
29 views
interface conversion: interface {} is not map[string]interface {}
If I have this file:
package main
import "sort"
type Map map[string]interface{}
type Slice []interface{}
func (a Slice) M(n int) Map {
return a[n].(map[string]interface{})
}
func (m Map)...
-2
votes
0answers
8 views
Creating database for android and IOS application
I want to create a database which I will use in building an application for android and IOS
IF ANYONE CAN HELP TO FIND THE PROPER SORCE TO LEARN IT
I learned creating database using Jason but I couldn'...
-3
votes
0answers
20 views
What structure after serializations should looks like a dictionary? [closed]
Structure, that I need (json) is commented in the next code
class Program
{
static void Main(string[] args)
{
var xxx = new xxx;
var output = JsonConvert....
0
votes
1answer
15 views
Go - using http.PostForm to POST nested json data values?
I've seen the following example of how to use net/http PostForm to send a basic string map as a POST request:
How to send a POST request in Go?
But the data that I need to post is slightly more ...
0
votes
0answers
9 views
How to serialize an array of vec4_t in json
Json lacks native support for things like vec4_t, that is typically stored in long arrays. What is the recommended workaround:
Use keys for vector components:
{"points":[{"x":4, &...