Category "json"

create json object for vector<bool> using nlohman json

I want to convert a vector<bool> vec = {true, false,true} to json object using nlohman json lib to send through restapi. I expect the converted json objec

How to a output message in separate message boxes for a chatbot

So I'm trying to build a chatbot using python, flask, nlp, js. But I'm new to js and just started to learn about it. Output How should I output this prediction

How can I loop through pages of 100 records until the last page is less than 100 using PHP?

I have this bit of PHP code below. try { echo "Try for getting data"; $starttime = ("1900-01-01"); $endtime = $currDate; $day1 = strtotime($

Adding an image to a folder on Microsoft Lists

I'm having an issue since I am a total beginner regarding JSON. On Microsoft Lists, you can customize the way it displays a spreadsheet under "Gallery View". Yo

Get info from a "incorrect" JSON in Deluge

I am having a bit of trouble with a JSON provided by Zoho Analytics API. When you consult a table, the JSON is not well formed and I am not able to get all the

How to turn string into json with php and whitespace and padding

I am struggling here. I have looked up many previous answers on this subject and nothing is working. I have the following string and can't figure out how to get

AWS CLI: Error parsing parameter 'cli-input-json': Invalid JSON received

I am trying to pass a json file as parameters to a aws cli command but am greeted with an error:Error parsing parameter 'cli-input-json': Invalid JSON received.

Convert DocumentReference property into String from Firestore

I have a list of elements (Tickets) and since I can't convert the json because of one property (in this case user_id) being a document reference, how can I achi

Empty Object when deserializing ViewPort object with ServiceStack

I'm having an issue since I migrated to the latest version of GoogleApi (by Vivet) After analyzing I have identified a problem with deserializing the ViewPort o

i try to open a unity project and i get an error that i dont know how to solve

i tryed opening a Unity project and i got this error so i opened that file and its a .Json file but everything is written like this: #çlž %Õ

How to rename key value pair within a nested json structure in C#

Hello everyone and thanks for helping me in advance. The following question might sound silly but I'm a beginner about it. Let's start! I have the following jso

Retrieving values from nested json using Python

I have a json string below that i need to pull out all the values for securityId from _source. I expect the result to be NGN33 and NGG2 however the code below o

Get Hieararchical data as JSON from SQL Server

I have following table: Id HieararchyId Name 1 / MHz 2 /1/ Finance 3 /1/ IT 4 /1/3/ Software Development 5 /1/3/ QA 6 /1/2/ Accountant and I want to get data

Get Hieararchical data as JSON from SQL Server

I have following table: Id HieararchyId Name 1 / MHz 2 /1/ Finance 3 /1/ IT 4 /1/3/ Software Development 5 /1/3/ QA 6 /1/2/ Accountant and I want to get data

Refresh Json Data in VueJsonCSV component - VueJS

I'm using the VueJsonCSV component to export this data to csv. The values for these are retrieved from Vuex Store. <template> <v-btn depressed> &l

Put JSON Data in Flutter Stacked Chart

I have try to put my JSON data in flutter Stacked Chart. I already work on simple charts using JSON Data like bar, column, pie, Doughnut charts etc. I have refe

How do I access response information from COINGECKO API for coins with more than one word id?

I have 6 crypto coins I'm getting current price from CoinGecko's API I have spans inside of divs set up on my html page, where the price span html updates after

Nested List into JSON File

Am still a complete beginner at programming and have now been given the task of converting with JavaScript an object in Nested List format, which I get given as

"Expected BEGIN_OBJECT but was STRING at line 1 column 1"

I have this method: public static Object parseStringToObject(String json) { String Object = json; Gson gson = new Gson(); Object objects = gson.fro

Problem with configuration in .NET,problem with read a json file

When I'm trying to add the JSON file via.AddJsonFile(), it throws a: System.IO.FileNotFoundException: 'The configuration file 'appsettings.json' was not found