Category "json"

how to read json.snappy file from athena

I have input file in s3 bucket with .json.snappy compression and I am trying to read through athena table. I tried using different serde 'org.apache.hive.hcatal

Spring JPA not returning Foreign keys in response

I have a database with some entities, ( in parent child relationship )I can say and when When I try to make a query to child table to get all the rows, I only g

Oracle, Parse JSON with > 4000K

I am trying to parse some JSON like this: SELECT cid, c_message FROM JSON_TABLE('{"cid":"30152","c_message":"....very long message...."}' FORMAT JSON,'$[*]'

Can't manage to fetch data from a second JSON file

I'm trying to use a fetched data from a JSON file to make another fetch on a second screen. Let's say I have a JSON file that was fetched via www.fruits.com/dat

Create flutter chart with json api data

I'm creating a flutter app to receive data from the Yahoo finance API and show this data in a chart widget. This is my detail page, getting the "Symbol"-Informa

Function gets called only on the second click [duplicate]

I have a button that needs to execute a function. This function reads a json file from my machine and then parses it. It works all fine but th

How to batch convert .mid files to .json as this website does?

I want to batch convert mid files to json exactly as this web does: https://www.visipiano.com/midi-to-json-converter/. But now I have to manually convert every

How can I find the value from another value in the same line with JavaScript (JSON)?

I am trying to get the "correctAnswers" from a number. Here a is sample of the JSON: { "questions": [ { "number": 3, "question": "☀ʊ

MQTT message is not received because of object in object

Libraries: <PubSubClient.h> <ESP8266WiFi.h> "ArduinoJson.h" When I send this JSON, the message is received and I can do things with it: {"topic":"d

How can I convert from a{a{} b{}} to a[a[],b[]] using php preg_match?

Group test { Group test1 { #-# Type Val 1 typ1 10 2 typ2 10 3 typ3 10 } Group test2 {

Continuously Fetch API For new data React Fetch

I've a dynamic json that changes value continuously. i want to draw chart with that data so i stored the dynamic data to array then draws chart with that array.

Using Karate, how do I loop though a json to pick up the value for a key based on another key in that json block?

Below is the JSON response I get from which I want to extract y1. Before getting the response, I know x1 already but I don't know y1. So for that particular x k

change the json object value

{ "onboardingInformation": { "apiInvokerPublicKey": "string", "apiInvokerCertificate": "string", "onboardingSecret": "string" }, "notification

jq - return array value if its length is not null

I have a report.json generated by a gitlab pipeline. It looks like: {"version":"14.0.4","vulnerabilities":[{"id":"64e69d1185ecc48a1943141dcb6dbd628548e725f7cef7

JsonElement and null conditional operator (KeyNotFoundException)

I have a JSON object that I get from API and I need to check for error in the response of the JSON. However, when there is no error the error value is not prese

Is there a way to cast a string of only hh:mm to Date in Javascript

I have a business hours object in a mongoose schema that represent a date. I'm passing a json object and retrieving the to parse to Date as string. I wonder if

Add items to sharepoint list from parse json if missing

I have two lists, one is 8 items that are in a parse JSON, the other is a Sharepoint list with 3 items (Get items from Classes List), these lists have a unique

Flutter: convert future to stream

I am getting data as Future from my json API. And use my Flutter Mobile app. Here is my code for getting data from API- import 'dart:async'; import 'dart:conver

Issue in creating recursive JSON hierarchy tree

I have input data in flatfile format. I have written my javascript code to create recursive hierarchy JSON tree. I am not getting expected tree (highlighted bel

Go lang decode io.read JSON v.s. unmarshal giving different results

I have a handler like this: type Location struct { Lat float32 `json:"lat"` Lon float32 `json:"lon"` } func handleJSONLocation(res http.ResponseWriter