15 questions from the last 7 days
0
votes
1
answer
41
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&...
2
votes
1
answer
32
views
How to escape 'properties' in JsonSlurper in Groovy 5?
In Groovy 4.x it was possible to escape the 'properties' keyword when using JsonSlurper using getAt('properties') like below:
import groovy.json.JsonSlurper
def json = new JsonSlurper().parseText(&...
0
votes
0
answers
17
views
How can I use a custom Date deserializer for Json RequestBody?
I'm using Spring MVC and I would like to control the deserialization of Date objects in RequestBody.
I saw I can set a custom JsonDeserializer in the input object, but I would like to set a global ...
-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 ...
0
votes
0
answers
57
views
Can I send a JSON object to BigQuery without stringifying it?
I am trying to figure out if there is a way to send a JSON object to a BigQuery table that has a column of type JSON. I know the current practice is to stringify the JSON and send it over which gets ...
-2
votes
1
answer
48
views
Why am I getting “TypeError: list indices must be integers or slices, not str” when accessing a JSON response in Python? [closed]
I'm trying to access specific values from a JSON response in Python, but I keep getting the error message:
TypeError: list indices must be integers or slices, not str
I understand it has something ...
Advice
0
votes
0
replies
24
views
Exporting Azure synapse workspace artifacts
Just came across a task and had to do some digging to find the answer:
How to export Azure Synapse artifacts, more specifically pipelines, conserving their folder hierarchy, when Git integration is ...
1
vote
1
answer
81
views
Python, parse nested JSON to make it flat for CSV
I'm trying to store API output into CSV/db and can not figure out how I can make for those Key in "tierList". One row in my case should be on bin and I need key as a columns in my output.
Is ...