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).

342,269 questions
0votes
0answers
4views

Looping Thru JSON (Javascript/JQuery)

I have data coming back from a call to a controller. I have tried various different methods to pull out just the the PrecinctIds. All failed. I was hoping someone has the solution. $.get("/...
1vote
0answers
14views

How to hide java field in json?

How can I not show field in Json? I tried @JsonIgnore, but it doesn't work for me. I need this field only to use in my code, but not to show in json. How can I do it? Code: @Override public final ...
  • 45
-1votes
0answers
6views

Update json file value based on key match from another Json file

Objective: Match key and Override values in json element values on two json files Input: Source json file looks like: {"CLIENT_CODE":"client-d", "ARM_SUBSCRIPTION_ID"...
  • 571
0votes
0answers
14views

I can't consume api, I can't log in with python requests

I can't consume api, I can't log in with python requests. I have tried passing the username and password data through "auth", but it continues to give me a 400 error. I send the data as json,...
0votes
1answer
13views

How to find a string in json output in Ansible/yaml

I have an API call that puts out the following JSON data: "data": [ { "vrfId": "1", "name": "test", "rd": null,...
0votes
0answers
13views

System.Text.Json - Unable to find TokenType Integer, Float, etc

I'm trying to migrate the following Json.NET DateTimeConverter to System.Text.Json. The issue is that I cannot find JsonTokenType.Integer or JsonTokenType.Float. There is only JsonTokenType.Number. ...
  • 2,689
0votes
0answers
9views

Getting Min/Max per Column for a 2d json array in Python

Heyho, after really long research, I have now been able to make a successful call of a Mongo DB in my Python program. Now I want to determine the min and max value for each column (x,y) in the two ...
0votes
0answers
13views

Jenkins Multibranch Pipeline check only the new or changed files pushed to GIT

we are working with a tool where the elements are all written via .json. Currently my GIT folder structure looks like this: elementsfolder -> element1.json, element2.json, element3.json ...
0votes
0answers
10views

Content type 'application/json;charset=UTF-8' not supported with spring boot application

I am using spring boot application. The application has one POST endpoint. There are many bidirectional entities in the application. I tried to save the Questionnaire (one of the entity ) I get the ...
0votes
1answer
30views

Extract all values from Json Array in SQL

I have SQL-data, with one column of JSON-data. Unfortunately, my database only compatibility level 100. So I can't use OPENJSON(). My JSON-data are structured as follows, it contains results from ...
0votes
0answers
11views

Pixabay API JSON parse with volley in android studio do not display in recyclerview item

I'm facing a great problem, i am trying to build an app that fetch data from JSON file from a link the parse it with Volley. Now i want to display the data on a RecyclerView which doesn't seem to work,...
0votes
1answer
19views

JSON value is same then why count changing in pagination for tableview in Swift

I need to increase count for every 5 matches if total_count is 0,1,2,3,4,5 then pageNum = 1 if total_count is 5,6,7,8,9,10 then pageNum = 2... for eg. if total_count is 50 then pageNum = 50/5 = 10 ...
0votes
1answer
6views

How to get the first item using JSONPath resulting array?

I have a JSON similar to: { "orders":{ "678238": { "orderId": 678238, "itemName": "Keyboard" ...
0votes
1answer
23views

Why payload is showing [object File] on uploading file

I am trying to post a file into API my file is shown in the console, but in API payloads it is showing [object file] on uploading. This is a function for taking file handleFileChange = (e) => { ...
0votes
0answers
6views

you must specify two loop variables after the “as”; one for the key, and another for the value, like <#… as k, v>)

I hope you guys can help me since I have little knowledge of JSON. I am trying to automatically close a notification in TOPdesk using an action sequence. This works with a JSON file. When executing ...

153050per page