Category "json"

Serializing multiline string from JsonNode to YAML string adds double quotes and "\n"

I have a YAML string where one of the attributes looks like this: description: | this is my description //imagine there's a space after description th

Python - Scraping API and Transform Json Data to CSV

My experience: Just started with Python and no developer My Goal: Trying to scrape Sofascore API for getting Soccer Lineups to CSV. The json data need to be tra

Why I can't get file content using file_get_contents for this site in php

Peace be upon you. I just developed a free PHP tool that extracts YouTube video details of all public videos in json format. It works perfectly with local serve

convert object in to array of json with given keys [closed]

I have object like { labels: ["city A", "city B"], data: ["Abc", "Bcd"] }; I want to convert above object as below array of json [ { labels

Getting conversion issue after migrating jackson-databind from 2.11.4 to 2.12.13.2

We have recently migrated jackson-databind from 3.11.4 to 3.12.13.2 version and springframework from 5.2.19.RELEASE to 5.2.22.RELEASE. after the migration we s

JSON response TypeError - 'The "data" argument must be of type string'

The API I'm trying to fetch an access token gives me the following instructions (you can check for yourself at https://developers.finove.com.br/authentication):

How to modify values inside JSON object in Java

I have a JSON Object which looks like this. { "result":{ "issue_date":"20-02-2011", "father/husband":"Chopra", "name":"Variyar", "i

Create date information in the file structure in the JSON file

is it possible to specify a date in the JSON structure, like for example in PHP (https://www.php.net/manual/de/function.date.php): $my_date = date("m.d.Y"); Wh

getJSON caches file while it is being updated

I have a loading process running which fills my database over the course of roughly 37 seconds on my local machine. I am at this point making a process for this

Use the ValidateAntiForgeryToken attribute with JSON POST data

Some of my controller methods have the [ValidateAntiForgeryToken] attribute for the usual reasons. It's only app-internal actions, no cross-site API or similar.

Convert React/javascript string array of objects to array of objects

This seems like a trivial issues but I can't get it working properly. I'm fairly new to JS/React so that is working against me also. This is the response I get

How to connect an actual (hardware) iot device to FIWARE Orion Context via the IoT Agent for JSON

Is there any tutorial or guide to follow and connect a hardware IoT Device via the IoT Agent for JSON? All the tutorial are working just fine with the virtual p

Complicated Json to C# Object Deserialize with classes

I am trying to deserialize a json response I get from a web call. I have it 90 percent figured out. The only part I am having a hard time figuring out is there

Complicated Json to C# Object Deserialize with classes

I am trying to deserialize a json response I get from a web call. I have it 90 percent figured out. The only part I am having a hard time figuring out is there

How to quickly convert java / json to Xtext langauge?

I am working on an app that processes incoming Json's and I want to easily extract the json data and convert it to a DSL language I'v created using Xtext. My go

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

Hello everyone and thanks for helping me in advance. The following question might sound silly but I'm a beginner about it. I have the following json which comes

Read a value out of a "complicated" JSON file [closed]

I'm using jq, but I didn't manage to get a value extracted from a .json-file (I got generated by mediainfo) in my batch-script. How can I get

How to make a method that finds every object by id in angular

Please help, I want to make a method findChildByIdInShop(shop:any, childId:string) where the shop is any JSON main node that has children with Ids. Simply, how

convert json map to string in xslt

How to parse json map to string in xslt.. this my xslt template:- <xsl:variable name="inputJosn" select="parse-json($input)"/> <xsl:variable name="join

getTokenIdMetadata function in Moralis is not showing anything on HTML card MUI. How do I fix it?

I am trying to use getTokenIdMetadata from Moralis to get detailed information about an NFT. So far, I am able to get the data as you can see below in the json