Category "json"

OpenSSL BIO_read is wrong

This is the code how I am reading the response from my HTTPS request: int len = 0; f = fopen("response.txt", "wb"); do { char buff[1534]; len = BIO_read

Filter out all occurrences of given properties from json object

I'm using PowerShell to extract data from an API call, update it and then pass it back to the API. What I would like to know is whether or not there is a simple

How to parse json data in a column with Druid SQL?

I'm trying to parse json data in a column with Druid SQL in Superset SQL lab. My table looks like this: id json_scores 0 {"foo": 20, "bar": 10} 1 {"foo": 30, "

html5 validation api gives an empty array of messages if a markup is wrong

Trying to validate my html5 markup by clicking on a button and using the w3c validator. The code source is from here. so my code is like this: $('.btnw3').on('c

Json file was not found in Android

I am developing a game for mobile and can't create a normal save system because when playing on the phone the error is logged: Could not find the file. I use th

Split data in JSON file based on a key value using java

I have a json file with which has an array of product items i want to split them based on the category of the item, This is my json file looks like, { "item

Manifest: Line: 1, column: 1, Syntax error

This is the hosted url: https://serviceworkerspike.azurewebsites.net/ - Doesn't work anymore I'm using Vuejs to create a PWA as a school project, and whenever I

jq error (at <stdin>:25): Cannot index string with string "data1"

I have a json file with data as below : { "0cef7017-e6af-4c92-9e7c-4db1d7afc733": { "Show": [ "TEST1", "TEST2" ], "data1": 12345,

how to loop through json response data using ajax jquery?

I'm trying to loop through a json response with ajax jquery but I can't display the result. Here is the code Im using: data.php function platformsList(){ $q

Extract all records from a JSON column, using JSON type

I have a couple tables (see reproducible code at the bottom): tbl1_have id json_col 1 {"a_i":"a","a_j":1} 1 {"a_i":"b","a_j":2

Style neighboring countries Google maps

Does anyone know if it is possible with the styling wizard to give neigh-boring countries a different color. I want to highlight a certain country. We use the G

JQ map objects to array

I have this input data: [ { "attributes": { "created": "2021-10-18T12:02:39+00:00", "enabled": true, "expires": null, "notBefore":

ASP.NET MVC Core Consuming Web API with Arrays?

I am having difficulty and although I thoroughly (I think) researched the web, including here at SO, I cannot seem to find what I am looking for -- or I am bein

What is use of the annotation @JsonIgnore?

I'm joining tables with one to many cardinality, the classes I'm using refer to each other. And I'm using @JsonIgnore annotation with out understanding it deepl

How to save JSON parsing values to an array in ArduinoJson

Arduino users, help pls! Hi guys! For example, I have a JSON document for parsing ArduinoJson: { "id": [ 1, 7, 32, 9656 ] } I need to save

Formatting DateTime in ASP.NET Core 3.0 using System.Text.Json

I am migrating a web API from .NET Core 2.2 to 3.0 and want to use the new System.Text.Json. When using Newtonsoft I was able to format DateTime using the code

How to find position in large JSON file

I have a very large JSON file that I am trying to parse through with Eclipse. Unfortunately, I keep getting the error of: Unexpected token LEFT BRACE({) at po

Error on trying to jsonDecode String in Flutter application

When I try to decode a json String: [{"device-mac":"C9BF2EB47C17","on":true}] with the following function the error: I/flutter ( 8954): type 'List' is not a su

Simple java questionnaire using json

I made a simple questionnaire. I need to write the responses to a JSON file. How to do it? I use IDEA Intellij and library GSON for work with JSON. This is main

Transfer data between JavaScript and PHP through JSON

index.html: <head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="