15 questions from the last 7 days
2
votes
0
answers
62
views
How to use Serde to deserialize JSON data containing relative path references?
I have two JSON files, first file contains actual data and second file references to the data present in first file using $ref syntax. When I try deserialize the second JSON file, the code panics.
...
1
vote
2
answers
63
views
How do I use a json array to search and extract matched values from a different json array in mariaDB?
Situation
I have two tables. ing_master is a master list of ingredients; pdet is a product table, with an ingredients field formatted as json array.
For each product's ingredient list in pdet, I want ...
0
votes
1
answer
43
views
How to Create a Pandas Dataframe from JSON Nested Objects
I'm trying to create a Pandas DataFrame from a JSON file that looks like this:
{
"GameID": "1,218,463,841",
"Date - Start": "1761097369",
"Date - End&...
Best practices
0
votes
2
replies
31
views
Is it normal to send a JSON response with a list of objects where the properties of the objects differ based on their type?
My client has requested that I provide a response from my API that looks like the following:
{
"entity_type": "company",
"registered_date": "2020-01-01",...
0
votes
1
answer
24
views
Redshift PartiQL for unpivoting the keys and values in a Map typed SUPER
AWS documentation for querying Redshift's super is very much all in on supers that are arrays.
But, I happen to want a super that is a map, as I'm sure a number of people do, and I would like to then ...
0
votes
0
answers
27
views
I am using JupyterLite to run some python code. And there is a specific cell which is not executing as desired
When I run the cell below, and there is no file with the same name as filename, it executes perfectly. But on subsequent runs, if there exists a file with the same name, the kernel gets busy and ...
0
votes
0
answers
25
views
Slack files.getUploadURLExternal API returns “missing required field: length / filename” even though fields are provided
I'm trying to migrate from the deprecated files.upload API to the new Slack upload flow using files.getUploadURLExternal.
According to the documentation, the request should include a filename and ...
-6
votes
0
answers
51
views
Converting PDF->json [closed]
I’m trying to convert PDF’s into json files (using docling in python). The problem is I’m very inexperienced with json files. Whenever I try to transform the json files, there are too many nested ...