Questions tagged [json]
JSON (JavaScript Object Notation) is a serializable data interchange format that is a 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).
361,107
questions
0
votes
0
answers
9
views
My js script saves the progress file okay, but does not load it again properly
I created an online form with several fields, and I want the ability to save the progress and load it again later.
When I save it, it seems to work okay (all the info is in the json file) but when I ...
0
votes
0
answers
6
views
How do correct my JSON-LD syntax to give me the desired expansion?
Context
I am trying to collect a set of requirements and record them in JSON-LD format. The JSON-LD document will serve as a configuration file to drive automated data analysis in the short term. In ...
15
votes
2
answers
11k
views
Webpack-dev-server "Cannot GET /"
i'm trying to get my webpack-dev-server to run but i face always the error "Cannot Get /" at the browser.
I know that there are serveral questions with the same error, but none of them ...
-1
votes
0
answers
7
views
Using T-SQL for extracting from JSON
I am trying to extract data from the following json and pivot the data in "rows" to columns.
{
"tables": [
{
"name": "PrimaryResult",
"...
0
votes
2
answers
44
views
Is there any advantage of using a closed record with a rest descriptor over an open record?
Consider the scenario where we create a record for capturing a JSON payload. (application/json content type)
Is there any benefit of using a closed record with a JSON type rest descriptor over an open ...
0
votes
0
answers
12
views
Normalizing Dataframe with a json column
Hi i am looking for a efficient way to normalise a data frame that contains a column with json data.
i get json response from a website that is saved as a dataframe.
The structure is shown below
enter ...
0
votes
0
answers
7
views
How do I send x-www-form-urleconded body parameters in the form of raw text/JSON for use with PowerAutomate?
I've done some testing on an API in Postman and it seems that
**grant_type = client_credentials
client_id = ######
**
are x-www-form-url encoded body parameters - when importing curl command from ...
0
votes
0
answers
17
views
AJAX Patch Request returns empty in Laravel Controller
I am trying to update a resource in Laravel sending a PATCH request to my controller.
This is my AJAX call
$.ajax('profile', { // Replace with your actual endpoint URL
type: 'PATCH',
...
0
votes
2
answers
29
views
The x field is required error in EF Core requests
If got a controller endpoint expecting a DTO with just a list of Ids to fetch this specific list of IDs. When sending the following request to the endpoint, it returns an error
the idList field is ...
0
votes
1
answer
21
views
Split results from JSON Outputs
In Azure Logic Apps I am trying to get Teams ID after creating it from the HTTP request. I then used Compose and Parse JSON to see the results.
The outputs will look as follows (shortened version):
&...
1
vote
2
answers
26
views
How to set a JsonSerializerOptions globally for my httpClient.GetFromJsonAsync<T> calls
In my ASP.NET web API I have httpClient which call GetFromJsonAsync:
var jsonSerializerOptions = new JsonSerializerOptions
{
PropertyNameCaseInsensitive = true,
};
...
2
votes
2
answers
1k
views
How is the best way to return an error to ajax request?
When one WebMethod it's called from ajax, if I return a simple string, the ajax code go to success method without errors, something like this:
[WebMethod]
[ScriptMethod(ResponseFormat = ...
0
votes
1
answer
52
views
Сreating multilevel json with the jq utility in a bash script
I get the contents of a text file into an array and then sequentially get the elements of the array and try to add the elements to the json:
#!/bin/bash
JSON=$(jq -n '')
readarray -t array < ./...
0
votes
1
answer
28
views
JQuery - ajax sending array to Spring controller - bad request
I am using Spring 5.3.9, jackson-core and jackson-databind- 2.17.1 version. From UI, I am sending json array to the controller. I have tried multiple parameters types in the controller and none of ...
0
votes
3
answers
69
views
Python Pandas extract csv column containing json
I want to learn Pandas framework, so I find free csv with Euro data from kaggle.com
https://www.kaggle.com/datasets/piterfm/football-soccer-uefa-euro-1960-2024/data
But there're plenty of columns ...