Category "json"

Writing to a JSON file from an electron web app

Using electron I have made an app that can generate 6 arrays that create a frame for an animation, these arrays are going to be interpreted by another program t

Dart: Incorrect interpretation of JSON String

I'm trying to decode a zipped json file that is dropped (drag and drop file) into my Flutter web-app, however am having some challenges getting the correct text

How to update values in a complicated JSON Array using Jackson?

I have a request body (in JSON format) that looks like this: [ { "l_ts":0, "af":{ "lib":"xyz", "OS":"abc", "wdt":"2.63", },

Set property value on object loaded from json containing comments

When loading an object from a json file one can normally set the value on properties and write the file back out like so: $manifest = (gc $manifestPath) | Conve

Successful API call but no data returned

I'm trying to request data from api.travelpayouts to find cheap flights, but even after trying exact examples from their documentation I'm not returning any dat

Transaction Error invalid BigNumber string (argument="value", value="1.2e+21", code=INVALID_ARGUMENT, version=bignumber/5.5.0)

Hello i have a problem on string bignumber when transfering morthan 1000BUSD this is my transfer code,, i dont know what problem i hope someone help me thanks c

Convert JSON to different format using the javascript

I have the JSON please see below and I need help to convert changing the format mentioned below. I want to move the data to different columns (format mentioned

Python API Call: JSON to Pandas DF

I'm working on pulling data from a public API and converting the response JSON file to a Pandas Dataframe. I've written the code to pull the data and gotten a s

Flutter http request not accepting headers but it works on postman

I am getting a really frustrating experience. Am making a post request to an api, works well on postman but refuses to work on flutter. Here is the error respo

How to convert rss to json for medium posts

I am trying to feed my website with my medium posts but I am not able to convert rss to json. So for this, like medium says I am trying to make this call https:

Parse json value when value contains a string in ansible

This ansible playbook works --- - hosts: localhost gather_facts: False vars: jq: "[?contains(name, 'Pizza')]" json: | [{ "name":

Caching JSON data on android: Room vs file

An app retrieves JSON formatted strings from a network and parses them for presentation to the user. What would be the best way to cache the data in case it's n

How to convert array into JavaScript object

I have an array like this (which is similar to a JSON array) of length n: const mainData = [ { phrase: "Phrase 1", categorynumber: 1, optionnumber

Load item description from json file

Recently i saw a post about someone making a program that could control a computer it was launched on. (it was this one) Add commands to user input I was really

Consume kafka topic JSON data to postgres using JDBC connector

We have a need to push the kafka topic JSON records to postGresSql database. the JSON are compliant to https://json-schema.org/draft-07/json-schema-release-note

Osmdroid loading only Elements inside of a Polygon with OverpassAPIProvider

So I am trying the following: Using the Overpass API in osmdroid to only load those nodes, ways or relations that are within or partially within a Polygon. Twea

Json problems in (AWS lambda, formatting and line by line)

The idea: I want to send some json tweets (from file) to AWS kinesis, S3, lambda, AWS comprehend then S3 again. The sample tweets: [ { "tweet_id": 56758

How to authenticate with Blockfrost.io API?

So I'm trying to import Cardano Blockchain data like address balance, amount staked, rewards etc into a Google Sheet. I found this project named Blockfrost.io w

How to convert json array to model class in flutter dart/

{ "feed": { "entry": [ { "im:name": { "label": "The Rise" }, "im:ima

i have an error about object manipulation

good morning everyone, i get errors in a simple manipulation of a json. I'll show you the code: import React, {useState, useEffect} from 'react'; import Bscpric