Questions tagged [json]
JSON (JavaScript Object Notation) is a serializable data interchange format that is a machine and human readable. Do not use this tag for native JavaScript objects or JavaScript object literals. Before you ask a question, validate your JSON using a JSON validator such as JSONLint (https://jsonlint.com).
361,022
questions
3
votes
3
answers
64
views
Is there a way to read sequentially pretty-printed JSON objects in Python?
Suppose you have a JSON file like this:
{
"a": 0
}
{
"a": 1
}
It's not JSONL, because each object takes more than one line. But it's not a single valid JSON object either. It'...
-3
votes
0
answers
37
views
Podcast episode update [closed]
I am new to here and web development. I am building my first project and it happens to be a proper website for my podcast. It's been one of my top passion projects as I've always wanted to give my ...
-1
votes
0
answers
26
views
Converting Memory Output from Ki to MB with JSON Path Query Output
I am running the below query to get two outputs across two columns :
Name
Memory
But the memory output is shown in Ki. I would like to convert the output of the node memory into MB when it is ...
0
votes
0
answers
15
views
API Pagination - Want to get the page from the URL and not from the Body
I am new to the API world and have a question. I am currently making an API custom connector call to plytix with Matillion Data Loader. The call works fine until I want to bring in all the records ...
0
votes
0
answers
6
views
"display-override" field in my manifest.json flagging problem
"display_override": [
"standalone",
"fullscreen",
"minimal-ui",
"window-controls-overlay",
"browser"
],
Above is a ...
0
votes
0
answers
15
views
VS Code Custom Syntax Not Highlighting
I made a vs code syntax for calcscript but I cannot seem to get the hightlighting or the autocompetion working for my code.
This is my package.json:
{
"name": "calcscript-syntax-...
-2
votes
2
answers
97
views
"No operator '<<' matches these operands" error for JSON::Value, how to write it to cout? [duplicate]
My C++ program below is supposed to read a json file called english.json and display the "title" information.
#include <iostream>
#include <fstream>
#include <json/value.h>
...
0
votes
0
answers
22
views
Creation of a json in python with odd structuring going in using python
It is currently not producing the JSON I want there are many issues that I have listed but I am wondering what would make it produce what I want I know that there is probably a simple way to this but ...
0
votes
1
answer
27
views
How to prevent a React component from freezing the page after loading?
I am using the following library uiwjs/react-json-view, it is the typical library to view json. The issue is that I want it to load a large json. But when it does, it freezes the page in the process. ...
1
vote
2
answers
70
views
How to use JSONiq in a python program?
How can I use JSONiq to query JSON objects in a python program running on my PC?
I have managed to use JSONiq in a Jupyter Notebook running inside Visual Studio Code, but I'm interested in using ...
1
vote
1
answer
29
views
Export Pydantic model classes (not instances) to JSON
I understand that Pydantic can export models to JSON, see ref. But in practice, this means instances of a model:
from datetime import datetime
from pydantic import BaseModel
class BarModel(BaseModel):...
0
votes
0
answers
12
views
Modify SharePoint List Schema with Python
I want to periodically add choices to a Sharepoint List with Python, but when I do so the choices are formatted in the same way. I tried to add random colors by
Generating the json schema
...
0
votes
1
answer
20
views
Creation of a dictionary with a list that keeps adding items instead of adding it as a new item
I have a function that is creating a dictionary but it is not giving me what I want I understand why it is giving me it but I am wanting it to slightly different I do not want it to add it like ...
0
votes
0
answers
15
views
Bad request error at server side when i receive a json object
I am just making a simple axios post request to server. But I cannot understand why am I getting a bad request error. I send the data in json and i expect the data in json. But I am still getting a ...
1
vote
2
answers
42
views
How to check if key is in JSON sqlachemy
I am trying to select a segment if:
settings dict is not null
Has key user_parameters in it
And user_parameters (dict) has key user_id in it
Code below:
user_id = '100952'
select([self.db.segments])....