360,226 questions
Score of 0
1 answer
49 views
How to convert JSON to tabular data using Power Automate?
I have a report in Power BI. I want to automatically extract data from a matrix within it and save it to Excel. The matrix looks like this:
campaign |mailed |opened
---------|-------|-------
AAA |...
Score of -4
1 answer
144 views
How to normalize complex JSON using pandas? [closed]
I try to work out the workflow of flattening it.
Here is the JSON:
inventory = [
{
"id": 1,
"fields": 5,
"laws": [
{ "id"...
Score of 2
1 answer
180 views
Multiple dynamic arrays with arena memory allocator when parsing glTF
When parsing glTF, there can be nested arrays, for example in meshes:
{
"meshes": [
{
"primitives": [...]
},
{
"primitives": [...]
},
......
Score of 0
1 answer
43 views
JSON_TABLE path only works for one template, breaks silently as soon as I add a second one (openEHR composition on IRIS)
I’m on IRIS for health 2024.1, storing openEHR “compositions” in a single JSON column, one row per document. On top of that I need to support AQL-ish queries, translated into SQL via JSON_TABLE().
...
Score of -2
1 answer
99 views
Parse return value of nodejs child process fork
The return value of my object returned a by process inside of a child process fork is spread in weird JSON as follows {"0": "{", "1", "f", "2": "...
Score of 1
0 answers
69 views
How should DRF validate polymorphic per-provider JSON payloads before delegating to a service layer?
I'm refactoring a Django/DRF system that ingests skip-trace data from multiple external bureaus (Experian, Equifax, IDI, TLO). Each provider returns a completely different JSON structure. We store the ...
Score of 0
1 answer
58 views
DefaultValueAttribute overrides values deserialized by JSON.NET after constructor
I am trying to create an application where I create instances of classes from deserialized JSON. I use constructors because I also want to be able to create instances without deserialization while ...
Score of 3
1 answer
153 views
FastAPI returning "Out of range float values are not JSON compliant" with Pandas NaN values
I am building a FastAPI endpoint that reads data, processes it into a Pandas DataFrame, and returns it as a JSON response.
However, my dataset contains missing data (NaN). When I convert the DataFrame ...
Score of 0
1 answer
101 views
Feign Decode Exception: Error while extracting response
I am using feign client calls in microservice architecture. I am getting below error, while fetching data from the client call.
feign.codec.DecodeException: Error while extracting response for type [...
Score of 3
1 answer
167 views
If I am only using jackson-core (not databind), how do I create an instance of JsonParser in Jackson 3?
To prepare for a migration from Jackson 2 to Jackson 3, I am starting by making a simple demo project in Jackson 3.
I started by creating an instance of the JsonFactory, but then tried to create a ...
Score of 1
0 answers
156 views
Supabase Go: invalid character 'B' looking for beginning of value
I am working on a web crawler using Go and Supabase. This section of code throws an error when the length of the newLinks slice is above a certain number -- I haven't been able to determine what that ...
Score of -1
1 answer
118 views
Import a JSON file to JS code, compatible with old and current browsers
To import a JSON file into JS we were previously supposed to use the assert keyword:
import people from './people.json' assert { type: 'json'};
With the 2023-03 update of the proposal assert was ...
Score of 0
1 answer
115 views
Serialize and deserialize property with dynamically assigned property name based on a type given in an attribute using System.Text.Json
I need to do something that works using Newtonsoft Json.NET, but now I need to use System.Text.Json.
I've got C# classes created from a XSD schema file.
There are some properties in those classes ...
Score of 0
0 answers
42 views
Alpaca Market call gives "pattern_day_trader" not found error
I'm new to Alpaca Markets SDK. This was working a few days ago.
builder.Services.AddSingleton<IAlpacaTradingClient>(_ =>
Alpaca.Markets.Environments.Paper.GetAlpacaTradingClient(secretKey)...
Advice
2
votes
15
replies
261
views
Understanding json()
I have been facing the problem of understanding the meaning of json and I'm confused since I'm new I don't understand what's the difference between .json and json.
If you could explain json() simply ...
