Category "json"

How can I calculate Average in Nifi?

How can I calculate the average of an attribute in nifi ? I am using the UpdateAttribute processor. I have 4 attributes that should be added and divide by 4 but

Two autocomplete function in a single input text

I have two autocomplete function , that work fine for different textboxes , I want to add these two two autocomplete function values in single text box , 1st fu

Transform JSON into required format

Here is my input JSON [ { "date": { "value": "2022-05-01" }, "parent": { "value":

converting one form of json into another form of json object using javascript / node js

here data1 and order of content get changed everytime that why I used switch statement I am running a function by passing value like this parser(values[key]);

JSON Object in Azure Logic Apps

Someone please help. We receive orders in different formats and convert to JSON for processing and transformation to our API. Please see example: [ { "Ord

Modifying JSONObject in java , getting exception of ConcurrentModificationException

I have to modify each value for key inside JSONObject and I'm using recursion to iterate over JSONObject because it can be nested. But I'm getting exception in

How to create a specific result using JQ (jq parse json)

I have massive like this: 2254003131908096 39480500160 39763833120 2296334329577472 36713833920 37747166400 2297708719112192 39830499360 41430500640 Which JQ c

Get key values of nested json objects

I want to get the values of the keys of the next json file using org.json library: { "1": { "subject1": "MIS", "subject2": "DBMS", "

Insert Attributes in Parent Nodes in JSON with data.tree in R

I am new to tree.data, and have the following data: library(data.tree) library(jsonlite) # data Show <- c("The Flintstones", "The Flintstones", "The Flintst

i am receiving an error while returning `<IEnumerable<RiskValue>`.. ASP.NET [closed]

var result = JsonConvert.DeserializeObject<Risks>(jsonData); var finalResult = result.Value.Where(x => x.ID == 5).ToList

SQL Parse Json array to rows

I'm trying to parse the 'custinfo' array to rows, rather than specific columns how I have in my query (there can be none or many values in the array) DECLA

Extract a value in a json response with a variable

I am trying to return the id of a declared variable from a json file: i want my java code to search for the previous variable in the json response and once it i

How can I get all the object inside an object which is present inside an array and add the result into another array

I am struggling with an issue that is bugging me a lot. I am not good with JSON data manipulation. So the issue is I have an Array of multiple Object which cont

JSON Object to Hmtl

I've been developing a WebApp using javascript. I was trying to retrieve some data, and fortunately did it sucessefully but when i try to insert it in the HTML

convert complex nested json array using jolt expression in nifi

I have a complex Json where i wanted to flatten the Json using Jolt or any other ways to flatten in Nifi is also fine can anyone please help to flatten the belo

JSON NESTED STRUCTURE - PENTAHO

I have this following json nested structure that i need to construct in pentaho: { "num_matricula": "4242424", "limit_date": "2018-01-01", "admission_date

How to get openweathermap icon from OneCall API nested-list?

I'm adding weather forecast data to my app. The info displays in a RecyclerView after it is received by an API call using Retrofit 2. I'm having trouble getting

How to handle extra data error in FastAPI

So I have the following FastAPI code: from fastapi import FastAPI app = FastAPI class Demo(BaseModel): content: str = None @app.post("/demo") async d

HTTP Post request method does not execute. How to use HttpClient?

I'm trying to make a post request using HttpClient. The expected json which I'm trying to post is stored in var result and looks like : { "ID": 142, "Statio

save map bookmark for each user login using .net and javascript

I want to create Bookmark widget, and I want each user can save his own bookmarks. and when login to the application can see only his bookmarks. for this I have