Skip to main content
We’ve updated our Terms of Service. A new AI Addendum clarifies how Stack Overflow utilizes AI interactions.
Filter by
Sorted by
Tagged with
0 votes
0 answers
17 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 ...
Shubham Patel's user avatar
Advice
0 votes
0 replies
19 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 ...
Julio Turim's user avatar
0 votes
0 answers
15 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 ...
GM_1's user avatar
  • 75
1 vote
1 answer
76 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 ...
user1982778's user avatar
-5 votes
1 answer
82 views

Why does OpenAPI output validation fail for an endpoint but not for others?

I want to create an asynchronuous OpenAPI interface. Async jobs return a 202 and a location header to query later. This is my OpenAPI document: --- components: headers: JobLocation: ...
Marc0's user avatar
  • 23
-2 votes
0 answers
42 views

Finding the end of json file with std::getline [duplicate]

This is probably a dumb question, and I probably put in the wrong question type on accident, but what delimiter do you use when you need to stop at the end of a json file, but not whitespaces using ...
Ayam Cemani Chicken's user avatar
1 vote
2 answers
85 views

Can I deserialize a nested JSON property in place of its object

I want to serialize a nested JSON structure using System.Text.Json into regular C# classes, but I have a specific case where I want a single property of a nested object instead of the full object ...
Max Play's user avatar
  • 4,109
1 vote
1 answer
73 views

Serializing of polymorphic json in ASP.NET Core 10

I want to use polymorphic JSON for the RichText type in .NET 10 because I plan migrating from one richtext format to another and I am stuck with a problem: when the object is automatically serialized ...
Sannnekk's user avatar
  • 103
0 votes
1 answer
27 views

Apply default or constant values to json

I want to modify input json before it will be processed by telegraf json plugin via json_query. Is it possible to add some default value or constant value to json via json_query? For example, I have ...
user2025098's user avatar
0 votes
0 answers
73 views

Remove duplicates from JSON-like structure using Java [closed]

Input {     "email" : "[email protected]" },{     "email" : "[email protected]" },{     "email" : "[email protected]" },{     "email" : "kot@ma....
Raju Kumar Shah's user avatar
3 votes
3 answers
111 views

Python requests.request returning garbage

Calling an api. For almost all calls the response comes clean but for a few there is garbage in the returned json. Executing the garbage one in the Firefox browser with the same parameters returns ...
Clodoaldo Neto's user avatar
0 votes
2 answers
63 views

Using filtering recursive struct in rust

I have this big rust struct (DictWordMetadata), with more structs contained inside it. I have to check the value of a specific field in this struct or the structs contained inside it agains the value ...
Dante Ramacciotti's user avatar
-2 votes
3 answers
140 views

How to fix "Could not load file or assembly 'System.Threading.Tasks.Extensions`" exception when using System.Text.Json in .NET Framework?

I am trying to deserialize a JSON string in C#: JsonObject json = JsonSerializer.Deserialize<JsonObject> ("{\"columnsperrow\":\"1\",\"columnwidths\":[400.0]...
SPlatten's user avatar
  • 5,847
0 votes
0 answers
16 views

Support Multiple JSON Ocelot API Gateway

I have multiple microservices, and I am trying to merge them using Ocelot API Gateways. I have created different JSON files for each microservice and I'm adding them using the code below. However, it'...
OpsTeQ User's user avatar
2 votes
2 answers
121 views

How to use the [DefaultValue] attribute to ignore boolean = true properties in JSON serialization

This is a follow up question to the Ignore boolean property = true in JSON serialization. I have a record with multiple bool properties, some of them having default value true and some false: private ...
Theodor Zoulias's user avatar
2 votes
1 answer
72 views

Ignore boolean property = true in JSON serialization

I have a record with a bool property that has default value = true: private record MyRecord() { public bool BoolProperty { get; init; } = true; } I want to ignore the "BoolProperty":...
Theodor Zoulias's user avatar
3 votes
1 answer
58 views

Filtering using json_query

I'm trying to extract serial number from below JSON whenever the Disabled value is true. { "CertificateDetails": { "Serial": "1234ABCD", ...
Raj87's user avatar
  • 145
-4 votes
0 answers
56 views

Retrofit and link to download JSON file [closed]

I'm doing test task and I got a link that leads to downloading JSON file from Google Drive to work with Retrofit. I've asked tech support if I need to create local API to work with JSON, since I have ...
Гульназ's user avatar
0 votes
0 answers
74 views

Document AI importDocument returns error code 13 when using REST API

I’m currently having an issue with my code — I’m using the REST API to train a Document AI model with the custom extraction type. I have already completed the following steps: Called the v1 process ...
Nor3soN's user avatar