Category "json"

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

Unable to create a large json object from a postgreSQL query using json_build_object

I am trying to create a json object from my query using json_build_object as follows: Select json_agg(json_build_object('first_name',first_name,

Wiremock request matching with dynamic date - How to check a date in test?

I need to check in my test, that the date in request is exactly Today. How can I do this? Tried different ways from the Doc, but haven't got the desired result.

How to Update JSON value using Java

I have below json, i want to update each and every value of that json but sometimes only one value { "msgType": "NEW", "code": "205", "plid": "PLB52145", } I'

Deserializing a struct with custom data types

I am trying to #[derive(Deserialize, Serialize)] some structs that involve other custom structs, so I can transform them in and out of JSON, for example: #[deri

How to run google app script at exact time?

Currently, I want to run my google app script at exact time. I have already do some reading about this problem and I decide to follow the solution in this post

JSON input to multiple excel file outputs

I have a JSON file that looks like this: { "Person A": { "Company A": { "Doctor": { "Morning": "2000", "Afternoon": "1200" },

JSONPath filter property by value in object

How can I use the JSONPath filtering capabilities to query for a specific condition on a property on a subobject (without an array)? Consider this JSON example:

How Do I Upload A File To As A multipart/form-data using requests Library?

I Want To Upload A File To A Remote Server Through REST API, using python requests Library. The Server Has Provided The Below Form. <form enctype="multipart/

How to get the specific attribute "folder_name" value from XML & store it in an array in React js?

class LoadXml extends React.Component { constructor() { super(); this.state = { total_page: null, menu_array: [] }; }

how to build a nested, dynamic JSON in Go

I'm writing a simple API in Go that reads from a database and outputs GeoJSON. I have this working for simple points. But some of my data is lines (linestring).

Swift boringssl_metrics_log_metric_block_invoke(144) Failed to log metrics

I just get an error "[boringssl] boringssl_metrics_log_metric_block_invoke(144) Failed to log metrics" while to get JSON data from API link. Before it worked an

Webpack-dev-server "Cannot GET /"

i'm trying to get my webpack-dev-server to run but i face always the error "Cannot Get /" at the browser. I know that there are serveral questions with the same

Json UnicodeDecodeError 'charmap' codec can't decode byte 0x8d in position 3621: character maps to <undefined>

I'm loading a json file on my computer. I can load it in without specifying the encoding on Kaggle, no, errors. On my PC I get the error in the title. with open

Static variable evaluates to null at json.put()

I have a class only to store variables as keys like: public class V { public static final String SHOW_OR_FOUND = "show_or_found"; public static final in

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