Category "json"

Find the maximum value from JSON data in Scala

I am very new to programming in Scala. I am writing a test program to get maximum value from JSON data. I have following code: import scala.io.Source import sc

Unresolved dependencies rollup

I'm doing import file from 'file.json in a Vue component, but have a challenge when I run npm run build to bundle it with Rollup. It throws this error below an

How to get all UserNames/UUIDs Minecraft API

I'm trying to make a program with a functionality similar to NameMC but I can't get all of the users of Minecraft. NameMC is an Index of all of the Minecraft us

parsing airtable json to flutter podo

I'm new in flutter and I have issue with parsing JSON on HTTP response. I'm using Airtable backend, to store information about posts. These always contain image

Convert File in JSON Reply

I have to use JSON to query a remote site for files. The query specifies a customer number and the reply sends back files for that customer. I get the JSON re

Could not determine JSON object type for type "Class"

I got the following error while trying to add an object of type class to the JArray. Could not determine JSON object type for type "Class" Here is my code: pr

Restructure JSON before deserializing with Jackson

We have a service which currently consumes JSON. We want to slightly restructure this JSON (move one property one level up) but also implement graceful migratio

Exception: '<' is an invalid start of a value

I have a Blazor Webassembly project with a controller method as follows: [HttpGet] public async Task<List<string>> GetStatesForProfile() {

How to extract values from a String that cannot be converted to Json

While processing the DialogFlow Response object, I get the below given string as textPayload. If this is a Json string, I can easily convert it to a JSONObject

Rails: JSON round trip from database to TEXTAREA converts to string on second save

(Rails 5.2) My record with JSON is saving correctly to the (Postgres 9.4) database on CREATE but is getting reformatted after UPDATE, with carriage returns (\r)

Use same method for inertia response and json response Laravel Jetstream

I have been using Laravel powered API and VueJS powered frontend, two separate projects for single page application. Now I want to switch to Laravel Jetstream w

Get last tweet Twitter api

I try to show the last tweet from a specif user, using the Twitter API. When I try to echo the first result I get an empty page. When I echo my JSON data is see

TypeError: request() got an unexpected keyword argument 'json' - PYTHON,AWS

Is there anyone here who can help me with this python script. When I execute this script I am getting this error: TypeError: request() got an unexpected keywo

Is it possible to include current time stamp in jq command?

I am running a curl rest-api call and try to extra some key/value pairs in UBUNTU. This is my current command: curl ..... | jq -c '{"online": .switches.option

Mysql set default value to a json type column

I heard that mysql version prior to 8.0.13 accept default value for json type column, so I using the cmd: ALTER TABLE templates CHANGE COLUMN values JSON NOT N

Azure Data Factory - copy task using Rest API is only returning first row upon execution

I have a copy task in ADF that is pulling data from a REST API into an Azure SQL Database. I've created the mappings, and pulled in a collection reference as fo

Trying to get a child key value from a json object saved in an map-variable in sketchware

i have the following json as a get response: { "global": { "name": "Lz Cha0S", "uid": xxx, "platform": "X1", "level": 521,

Convert GET parameter to POST request body and extract specific JSON property

Background I am making a spreadsheet that refers to information security license registration provided by the Japanese government (https://riss.ipa.go.jp/). The

ESP32 board_POST_Error_[E][WiFiClient.cpp:258] connect(): socket error on fd 56, errno: 113, "Software caused connection abort"

I need to send HTTP POST request using ESP32 module, to my REST API server which coded using python. But when running following code, an error comes. Running on

mysql - avoid escaping double quotes in json functions

When I issue... select JSON_REPLACE('{"tbl" : "cnf"}', '$', '{"tbl":"cnf4"}'); I get the following : +------------------------------------------------------