360,968 questions
0
votes
2
answers
63
views
How to use index to find position of JSON record [closed]
Is there a better way than iteration using a for loop to find the index of the record?
My problem is that to use index I seem to need the index of the record I'm seeking.
import json
from bs4 import ...
0
votes
0
answers
55
views
What is the correct way to iterate through a JSONL reader with jsonv2
Consider this demo example:
import (
"bytes"
"io"
"log/slog"
"github.com/go-json-experiment/json"
"github.com/go-json-experiment/json/...
0
votes
1
answer
54
views
Updating values in JSON array using jq
Using jq, I am trying to update the value of each object in an array, the new value calculated from the value of other keys in the same array, and returning the whole updated JSON.
Test data saved in &...
0
votes
0
answers
49
views
JSON column mapping – navigation property throws NullReferenceException
I have a model with a WorkFlow column in the database, defined as nvarchar(MAX) and storing JSON data. Previously, we treated it as a plain string in our C# entity, but I'm now trying to take ...
-3
votes
0
answers
30
views
cURL POST error with Printful API: Invalid request: file element is not array
I'm trying to upload an image to my Printful store with the following code in OSX Terminal:
curl -X POST https://api.printful.com/files \
-H "Authorization: Bearer mytoken" \
-...
0
votes
0
answers
46
views
Oracle APEX send JSON encoding arabic issue [closed]
I built a package to handle all the integration with the Signit API for electronic signature. The issue I have is that when I send an Arabic character in JSON.
The API response is that it is a bad ...
0
votes
1
answer
36
views
Is it possible to add organizations from a JSON realm import in Keycloak 26.3.1?
I'm using Keycloak and trying to define an organization structure during realm import via a JSON file.
I added the following to my realm.json:
`
"organizationsEnabled": true,
"...
0
votes
0
answers
14
views
Adding Email Config to Parse-Server prevents parse from running
I am running parse-server 8.2.1 and I need some guidance as to what the proper way to set up the email adapter to send user password reset emails via AWS SES. I am guessing my entire approach is wrong ...
1
vote
0
answers
69
views
Indexnow does not recognise urlList
I am trying to implement Indexnow to one of my sites but when I run it I get the response:
{"code":"InvalidRequestParameters","message":"Invalid request","...
0
votes
0
answers
18
views
Does JavaScriptSerializer's MaxJsonLength limit apply to string content within objects or just JSON structure?
//1st way
public string GetSomeData()
{
List<SomeObject> largeCollection = GetLargeDataCollection();
JavaScriptSerializer serializer = new JavaScriptSerializer();
json = ...
0
votes
0
answers
12
views
Why is LeRobot’s policy ignoring additional camera streams despite custom `input_features`?
I'm using LeRobot to train a SO101 arm policy with 3 video streams (front, above, gripper) and a state vector. The dataset can be found at this link.
I created a custom JSON config (the train_config....
-3
votes
1
answer
85
views
Export to CSV issue only return the last data [closed]
I have my script here:
import json
import csv
from pathlib import Path
import os
# Path
downloads = os.path.expanduser("~/Downloads")
json_path = os.path.join(downloads, "...
-2
votes
2
answers
91
views
Json response not rendering to html table, only shows raw json data [closed]
I am returning json response from index method of my controller class.
use App\Http\Controllers\Controller;
use Illuminate\Http\Request;
use App\Models\Admin\Services\Finish;
class FinishController ...
0
votes
0
answers
117
views
How to access Pinterest internal API JSON data after recent update? Getting "Invalid Resource Request"
Before the recent Pinterest API update, I was able to access internal JSON data using URLs like this:
https://www.pinterest.com/resource/AdvancedTypeaheadResource/get/?source_url=%2Fhomefeed%2F&...
0
votes
0
answers
38
views
Using ScrapingRobot API, how can I get google search results as structured JSON data?
How can I use ScrapingRobot’s API to scrape Google search results as structured JSON data (e.g., titles, URLs, snippets) instead of raw HTML?
The main page of the website shows three types of "...