360,551 questions
Advice
0
votes
3
replies
22
views
What online tools do developers use for quick tasks (JSON, Base64, UUID, etc.)?
What online tools do developers commonly use for quick tasks during development?
For example, sometimes I need small utilities like JSON formatting, Base64 encoding/decoding, UUID generation, ...
-3
votes
0
answers
29
views
How to force a specific field order in JSON output using Jackson? [duplicate]
I need my JSON output to show the "idTransanction" and "details" fields first for logging purposes. Currently, Jackson alphabeticalizes them or follows a random order. Is there an ...
Advice
0
votes
8
replies
86
views
dict of count JSON
I have tried to make a a function get_statistics to make a dictionary of the JSON persistence. I started doing it manually, but it wants me to do it automatically. Currently stuck making my code of ...
3
votes
0
answers
75
views
Android-Retrofit: getting escaped double-quoted JSON
I'm having problems receiving a JSON response from a REST endpoint using Retrofit. Some of the requests return JSON with a bunch of null characters and escaped double quotes.
Pasted from Android ...
Best practices
0
votes
3
replies
77
views
mtgjson.com usage recommendations
https://mtgjson.com/
I am currently building program for MTG, Magic the Gathering that is used for Cube Building. I have been using API calls to Scryfall ( scryfall.com ). This has been working so far ...
-4
votes
0
answers
41
views
Getting error while using paginate parameter, while saving data to local JSON
import os
import json
import logging
from pathlib import Path
from dotenv import load_dotenv
from newsdataapi import NewsDataApiClient
logger = logging.getLogger(__name__)
logger.setLevel(logging....
Best practices
0
votes
2
replies
46
views
Best practices for structuring LLM prompts to extract multi-dimensional emotional metadata from dream narratives?
I am building DreamEcho AI, a platform that uses NLP to track mental states through dream analysis. I am using a Large Language Model (like GPT-4 or Gemini) to process raw user dream journals.
The ...
0
votes
0
answers
78
views
How to access a JSON file in WWWROOT folder of Blazor application?
I have a Blazor application, developed in Visual Studio 2022. It loads a JSON file (data.json) that I have placed in the wwwroot folder.
Everything that I have read (searching for help) shows that I ...
Best practices
0
votes
0
replies
45
views
Seeking perspective for JSON ingestion into AURORA?
Seeking perspective for JSON ingestion into AURORA?
======================================
I appreciate you looking over my query. This question pertains to the AWS AURORA environment, and I'm asking ...
1
vote
1
answer
91
views
How to release a file written with JsonSerializer.Serialize(Utf8JsonWriter)?
I'm testing a method that reads a JSON file. So in the setup, I first create said JSON file, like this:
string pathOfRelevantStuff = "path";
string fileOfRelevantStuff = Path.Combine(...
0
votes
0
answers
41
views
EPrints import plugin (Perl): OpenAlex “article” imported as “other” and fails workflow-required fields (refereed, ispublished, date_type) [closed]
I’m writing an EPrints import plugin in Perl to ingest metadata from OpenAlex (via https://api.openalex.org/works). The importer looks up a work by DOI/ID/title and maps the OpenAlex JSON into an ...
0
votes
0
answers
36
views
AJV Validating at Least One Occurrence of enum Value
I have the following property definition in my schema.
"type": "object",
"properties": {
"name": {
"description": "The name of the ...
0
votes
0
answers
70
views
How can I combine multiple AWS IAM policy documents into 1? [closed]
I have a few dozen IAM policy documents in json format, output from the pike tool. A lot of the permissions contained within are duplicated.
I would like to combine these into a single json-formatted ...
5
votes
2
answers
184
views
Converting a PHP object array to a JavaScript object array
First, I retrieve data from the database using PHP oop and store it in a variable named $details. The result in $details is an array of several objects, usually about 7 in total. Each object within ...
Best practices
4
votes
0
replies
87
views
What are best practices for using AI tools in production without over-relying on them?
I’ve been integrating AI tools (mainly large language models) into parts of our workflow things like content drafting, code suggestions, and internal automation
While the productivity boost is real, I’...