361,185
questions
-1
votes
0
answers
34
views
Trouble with convert python json in YML """ or '''
I need to convert the value also with quotes even if it is a string but only in the env block (I use python)
I have the original YML file, I have some logic going on in the backend that updates my ...
-2
votes
0
answers
32
views
JSON Deserialize custom property names [duplicate]
I'm trying to figure out how to Deserialize the following JSON text to a C# class where the filename is the Property Name:
{
"profile": {
"content_settings": {
...
0
votes
0
answers
6
views
Lightweight Local LLM approach for Converting Text to JSON Using Custom Schema
I'm working on converting text to JSON format using a specific JSON schema with an LLM model, but I'm running into challenges with my constraints.
What I need is opinion on anyone or combination of ...
-1
votes
0
answers
19
views
Issue with AJAX-based Dynamic Dependent Dropdowns: "Error loading subcategories" in JSP and Servlet Setup
I'm trying to create a set of dynamic dependent dropdown menus with jQuery and AJAX. The dropdowns should show categories, subcategories, and further subcategories. However, I'm encountering an issue ...
2
votes
2
answers
50
views
Is there a type to represent any JSON serializable object in Python?
It is my understanding that json.load returns any.
I do not believe I can change the built-in typing, but I think it would be better to use more specific typing in my programs, since not all objects ...
1
vote
2
answers
18
views
Return, object property "undefined" "Cannot GET /src/html/undefined" on a Link
within the return statement there is a link element that has an object property as its value/href.
This link is wrapped around each item in my array. When the link is clicked "Cannot GET /src/...
0
votes
2
answers
43
views
How to serialize the recursive dictionary in C#?
Below class is the recursive dictionary (tree-like structure). The EntityID is just the alias of string which must be accessed via HierarchicalRelationshipsMap.EntityID.
public class ...
0
votes
0
answers
21
views
Lexical error when attempting to transform JSON data retrieved from API to R object with jsonlite
I'm trying to practice retrieving data via an API into R for analysis. I'm following the tutorial here: https://www.dataquest.io/blog/r-api-tutorial/, but the URL it references for the ISS API appears ...
0
votes
0
answers
17
views
"TypeError: Cyclical Structure in JSON Object during User Login in React Native/Expo"
I'm working on a React Native/Expo app where I implement user login. However, when attempting to log in a user, I encounter the following error:
Login error: [TypeError: cyclical structure in JSON ...
-4
votes
0
answers
32
views
Parser for SQL's DDL [closed]
Does anyone know a powerful and flexible SQL parser?
Ideally, I am looking for one that:
Parses SQL into a JSON-style data structure.
Supports SQL DDL, particularly CREATE TABLE commands.
Is an ...
0
votes
1
answer
40
views
Have an object serialize itself
With either JSON or Pickle, I can instantiate an object and save that object like so:
import pickle
thing = Thingy(some_data) # takes a while...
# ... do stuff with thing then save it since it mostly ...
0
votes
0
answers
6
views
Volley JsonArrayRequest gives me the error com.android.volley.ServerError
I'm struggling several days with an Volley 1.2.1 JsonArrayRequest.
I have created on my website a simple php file which echos a JSONArray
<?php
$array = array(
array("c1" =&...
-2
votes
0
answers
22
views
Standardization of HTTP return codes for functional API errors [closed]
I am creating a specification for a rest api. I'm a little confused about choosing the right HTTP response code.
To validate the contents of the request I use the response code 422. It seems that this ...
0
votes
0
answers
28
views
nginx sub_filter not working on some uncompressed json
I've now spent entirely too many hours/days googling this, I've almost waterboarded chatgpt for answers, so now I need to ask for some input.
I have a nginx reverse proxy in front of a php-fpm server (...
-1
votes
0
answers
21
views
OKhttp Post request json with inner string value of json encoded string failure [closed]
Im having trouble making a post request using the okhttp library the json I'm trying to send in the post request has a Payload key with value of json encoded string sample below everytime I send the ...