Skip to main content

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).

json
1 vote
1 answer
39 views

add JSON object keys and values to bash associative array

I want to loop through a JSON object and add the keys and values to a Bash associative array. Here's my JSON object that is in a file named deploy.json. "deploymentEnvs": { "dev":...
mdailey77's user avatar
  • 2,095
1 vote
0 answers
30 views

ReactJS: ResizeObserver loop completed with undelivered notifications

I'm seeing the following error when I submit a particular form: This is happening when I submit a edit form but I don't see this error when I submit a add form. I have checked thoroughly in my ...
aniket working's user avatar
2 votes
1 answer
28 views

Extract Unique Values from a Power BI JSON in Power Automate

I have the following JSON that comes from PowerBI (via the Power Automate button function) [ { "entity": { "Power BI values": [ { "G-DATEMO":...
BobsBugs's user avatar
0 votes
0 answers
15 views

How to post multiple objects in oracle apex rest api?

I am trying to post data like below { "ORG_ID": "81", "TRX_DATE": "30-JAN-2024", "TRX_NUMBER": "240006078&...
Abdullah Al Mamun's user avatar
0 votes
0 answers
26 views

How to read `DeclaringType` from `JsonPropertyTypeInfo` in System.Text.Json?

I want to customize serialization based on the type of the property. To do that I would like to read DeclaringType from JsonPropertyInfo. This is an example from Microsoft documentation on how to ...
Ilya Chernomordik's user avatar
1 vote
1 answer
22 views

Using d3.js to submit multiple JSON requests and bind data to different elements

I am building a configuration page that allows a user to reconcile unmatched data by selecting a match from a list of possibilities. The list of items needing to be matched is generated by the backend,...
Carl Peterson's user avatar
-1 votes
1 answer
50 views

Decoding Byte to String is adding additional characters "\" [duplicate]

I am trying to convert a bytes field to str. I tried the following code. Not sure, why it is adding an extra char before and after each key and value. print(event_json) print(type(event_json)) ...
SDS's user avatar
  • 331
0 votes
0 answers
8 views

How can ı write iperf3 results to json file as instantaneously

In the script below, I write the iperf3 results to the file in json format, but the data is written to the file after the process is completed. For example, if t=10, the data is written to the file ...
hilmi uğur polat's user avatar
0 votes
0 answers
19 views

Accessing API in Node to the React NextJs throwing error

import _regeneratorRuntime from "@babel/runtime/helpers/esm/regeneratorRuntime";^^^^^^ SyntaxError: Cannot use import statement outside a moduleat wrapSafe (node:internal/modules/cjs/loader:...
Mohan Mickel's user avatar
-3 votes
0 answers
28 views

xlsx or csv to a JSON file (preferably python but I'm open to suggestions) [closed]

So, there's this big JSON file that I'm working on right now; it looks something like this: [ { "Category": 1, "RecipeList": [ { "RecipeID": 1, ...
Puchu's user avatar
  • 1
-3 votes
1 answer
30 views

How to display a one-to-many relationship in a column in JSON format

Table points has columns point_id (int unsigned, auto_increment, primary key) name (varchar(512)) Table filters has columns filter_id (int unsigned, auto_increment, primary key) label (varchar(128))...
lofdom's user avatar
  • 1
0 votes
1 answer
37 views

Adding nlohmann_json library to my project, is it necessary to add the entire repo?

I am a newb in cmake and building external libraries. I am trying to add nlohmann_json library to my project but I don't want to include the entire repository in my project files, I saw in the readme ...
Fares Hesham Abdelmoneim's user avatar
0 votes
0 answers
10 views

HTML Link in Annotorious / JSON W3 Annotiations

I'm working with annotorious annotations in an openseadragon project. I want to add HTML links to the annotations, but fail to find a way to properly format them as the <a href> tags and all ...
MarioF's user avatar
  • 1
1 vote
1 answer
28 views

Import JSON as a variable only to get its type and ensure the import gets removed when compiled

I have a JSON file that is auto-generated in my repo, a TypeScript backend project with Node as target runtime. I import the JSON file like this, just to get the type of the JSON object: import ...
v-moe's user avatar
  • 1,353
0 votes
0 answers
35 views

How to dynamically generate text which is `\u1234` like `\\u{code}` in JavaScript? [duplicate]

I want to dynamically generate JSON (from JavaScript) which contains values like this: ["\u1234", "\u4321", ...] How do I generate that given codes? const letter_a = "a"....
Lance's user avatar
  • 77.9k

15 30 50 per page