close
Skip to main content
Filter by
Sorted by
Tagged with
-1 votes
1 answer
68 views

I am attempting to import a simple list of events as a JSON payload from a SQL Server database table into a calendar created with Vanilla Calendar Pro. Each event consists of a date and description. ...
rpowell6's user avatar
  • 250
Advice
0 votes
2 replies
83 views

To obtain 1 from the following snippet, jq '.value' t.json | jq -r | jq -r '.value' is necessary: { "value": "{\"value\":\"1\"}" } Anyone know of a more ...
Signor Pizza's user avatar
Advice
0 votes
2 replies
152 views

I am learning backend development and REST APIs. I created a very small HTTP server in Python using BaseHTTPRequestHandler. Here is my code: from http.server import BaseHTTPRequestHandler, HTTPServer ...
Yogender's user avatar
Advice
0 votes
2 replies
74 views

Let's say I have two files. ip.json { "host1": "1.1.1.1", "host2": "1.1.1.2", "host3": "1.1.1.3" } specs.json { "host1&...
pepoluan's user avatar
  • 7,041
2 votes
1 answer
115 views

I am working with a structured JSON dataset where each ingredient contains relational metadata such as: reacts_with affected_by compatible_with A simplified structure is like this: { "...
Parvaiz Ahmad's user avatar
-2 votes
1 answer
95 views

The below code validates an input JSON file against a JSON Schema. When I iterate through the validation errors it prints them in some random order which is different from the JSON fields' order. So, ...
Harry's user avatar
  • 4,437
Advice
2 votes
1 replies
155 views

I have a LightGBM model in Python that generates a decision tree–based model for a dataset with many predictors and one response variable. I exported the model to JSON using: model_json = lgb_model....
Boom's user avatar
  • 522
Best practices
1 vote
2 replies
110 views

I have a JSON string and I want to: Validate if it's correct JSON Format (pretty-print) it for better readability What is the best way to do this in JavaScript?
Piyush Dabhi's user avatar
0 votes
2 answers
136 views

What's wrong with: jq '[paths | select(.[-1] == "id") | {"path": ., "value": getpath(.)}]' <(echo '[{ "id": 1, "child": { "id": 2 } }]') ...
fempto's user avatar
  • 11
Advice
0 votes
4 replies
82 views

I’m learning REST APIs and keep seeing the terms request body and response body. From what I understand, both are used to send data, but I’m confused about when exactly each one is used and how they ...
Ravi Kiran Eedupuganti's user avatar
3 votes
0 answers
85 views

In a corporate project, I’m migrating from Spring 3.x to Spring 4.x, and also from Jackson 2.x to 3.x at the same time. I do have the following problem: with Jackson 2 this code works "as is"...
gblaise's user avatar
  • 95
0 votes
1 answer
73 views

Considering the following code sample bringing up an HTTP server which handles POST requests only: from http.server import HTTPServer, BaseHTTPRequestHandler import json class RequestHandler(...
Fareanor's user avatar
  • 7,527
Best practices
1 vote
1 replies
104 views

After curl 'https://goldbook.iupac.org/terms/index/all/json/download' --output 0.json , jq '.terms.list | to_entries | map(select(.value.title == "impedance")) | .[].key' 0.json does ...
Signor Pizza's user avatar
Advice
1 vote
2 replies
86 views

I am utilizing Power Automate to look at categories assigned to my emails and then push some data back to an SQL database. I used graph explorer to help me get the right API message and have added a ...
Chris Grigg's user avatar
Advice
0 votes
4 replies
94 views

I am trying to write my first project using python which is a recipe administrator, which contains a programm that fetches url given a keyword, and fetches them back and add them dynamically to a ...
Ruixuan G's user avatar

15 30 50 per page
1
2 3 4 5
24025