Category "json"

Azure Synapse Analytics Json Flatten

I'm new to Azure Synapse and currently have the following problem: I get a json that looks like the following: { "2022-02-01":[ { "shiftId": , "

Creating a list of objects from a nested JSON in Flutter

There's a URL address that I decoded to JSON, and there's a certain header (result) that I'm trying to convert to a list of objects (Book). When I print the con

Grouping of array items by locale - JSON transformation in Node JS using JSONata

I am stuck in transformation of JSON in JSONata. Any help on this is appreciated. Is there any library which makes this possible in Node JS apart from JSONata.

How to Add Multiple JSON_BUILD_OBJECT entries to a JSON_AGG

I am using PostgreSQL 9.4 and I have a requirement to have an 'addresses' array which contains closed JSON objects for different types of address (residential a

Modify json field value in specified node using Java

For example I have Json like this { name: Alex, lastName: Smith, delivery: { street: 7599 King George Blvd, name : PIETER CIERE }, paymentAddressData: [

jsoniter how to prevent print null to json

I use Jsoniter to deserialize jsons and serialize objects to json. I have an object with many properties and add them as json member by @JsonProperty("xxx"). wh

Cast Complex JSON Dart

the dart code below allows you to decode a json that comes from a backend inside resultValue, I have the response of the rest call with the json shown below, wh

Object Mapper to implement not null

How to implement below :- fail if name/id/sal isnull or missing/or has null value then string->pojo should fail.How can i implement ? Actual json is nested .

Parsing empty json array as null object with GSON

I am working with some not really well designed APIs and when the object is null it returns empty array, like this: No-null response: "SourceType": { "ID": "2

Is it possible to replace a value in a json string that occurs multiple times only at the top level of the structure via regex?

Hiho, I have a json string with the following structure: { "version": "1.0.0", "dependencies": { "version": "1.0.0" } } It can also look like th

How to parse a dynamic JSON schema in Talend

I have a Rest API that returns a JSON, but the same field is sometimes returned as an object and sometimes as an array based on available data, I'm using tExtra

How to write Scala console output to a XML file?

I'm trying to convert json to xml, I am getting full output in console if the json file is small but I am trying to pass large json file n I'm not getting the

Postgresql - Renaming the key of all objects in an array of a JSON column

PostgreSQL 13 The goal is to rename all src keys in the photos array to image. I have a table plans which has a column json with a simplified structure similar

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