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).
360,988
questions
0
votes
0
answers
6
views
How can I apply a transformation to a JSON file during build in Visual Studio?
I have a project A (.NET Core) that is referenced by a project B. In project A, I have a JSON file that needs to be updated at compile time (to replace some values) and I would like the JSON file in ...
0
votes
0
answers
5
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):
&...
0
votes
0
answers
10
views
TypeError: 'NoneType' object is not subscriptable while fetching information for rejected reason from jira
for issue in issues:
fields = issue['fields']
results.append({
'key': issue['key'],
'summary': fields['summary'],
'description': fields['description'],
'...
0
votes
0
answers
6
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 control. I have tried multiple parameters types in the controller and none of them ...
0
votes
1
answer
17
views
Accessing deeply nested fields using DuckDB SQL
I have some deeply nested data from a json file and I'm trying to load it into DuckDB:
"events": [
{
"id": "401638586",
"uid": "s:40~l:41~...
0
votes
0
answers
29
views
Python requests.get() call returning no data
I'm making an API call to a web service in OTRS via Python's requests library. I know the request is valid since I tested it with curl and it works. However, when I add the parameters in a dictionary ...
0
votes
1
answer
24
views
Filter JSON keys with wild card
I'm using NiFi for the first time. I have the basics down, but I think I'm making the common error of thinking programmatically instead of set wise.
I'm given the following JSON:
{
"ABC#01&...
-2
votes
0
answers
10
views
Hello everyone, I want to create and publish my own React packages. needed your guidance.thanks
I am interested in creating and publishing my own React packages and would greatly appreciate any guidance or information you can provide. Here are some specific aspects where I need help:
...
0
votes
0
answers
10
views
Requesting FritzBox logfile via Python 'wget' subprocess on Raspberry Pi >> HTML instead of JSON returned
I am trying download the event and WLAN logs from my AVM FritzBox 7350 router (OS 7.57) in JSON format using a Python 3 script. Whilst it works well on my ArchLinux machine, I only get a HTML file on ...
0
votes
1
answer
18
views
Read Response body and assign into one variable in JMeter
I need to read authId value from below response returned by one of the Http Request item in JMeter and assign into in one variable under JSON extractor . "Should I use $.ApiResponse.data.authId&...
0
votes
1
answer
5
views
How to aggregate json columns based on value in PieCloudDB
In my PieCloudDB Database I have a json column like this:
json_col
{"id": 1,"data": [{"col1": "A","col2": "B","col3": "C&...
0
votes
0
answers
18
views
Static import of JSON object specifying the type
I have a small javascript web-application that I develop on my laptop and is later bundled with webpack for publishing.
In some files, some JSON-data is imported right in the "header" of the ...
1
vote
2
answers
37
views
How to handle multiple data sources with credentials when you're deploying AAS model through Azure DevOPS release pipeline
I have a tabular model with two data source connections. Both data sources connect to different servers (and databases) to retrieve data for the tables in the model. Within Azure DevOps, I have ...
1
vote
0
answers
36
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
3
answers
28
views
How can I store the response of my axios get request as json in node.js?
I'm trying to send a request to an api using axios and store the json response in a variable. When I output the response to the console, it shows it, but when setting a variable equal to it and ...