Category "json"

Is there a way to cast a string of only hh:mm to Date in Javascript

I have a business hours object in a mongoose schema that represent a date. I'm passing a json object and retrieving the to parse to Date as string. I wonder if

Add items to sharepoint list from parse json if missing

I have two lists, one is 8 items that are in a parse JSON, the other is a Sharepoint list with 3 items (Get items from Classes List), these lists have a unique

Flutter: convert future to stream

I am getting data as Future from my json API. And use my Flutter Mobile app. Here is my code for getting data from API- import 'dart:async'; import 'dart:conver

Issue in creating recursive JSON hierarchy tree

I have input data in flatfile format. I have written my javascript code to create recursive hierarchy JSON tree. I am not getting expected tree (highlighted bel

Go lang decode io.read JSON v.s. unmarshal giving different results

I have a handler like this: type Location struct { Lat float32 `json:"lat"` Lon float32 `json:"lon"` } func handleJSONLocation(res http.ResponseWriter

PHP Get value from JSON [duplicate]

Let's say I have this JSON: { "achievement": [ { "title": "Ready for Work", "description": "Sign up and get validated",

json load fails for nested json in kinesis firehose stream

I am trying to stream cloudwatch metric using kinesis firehose to S3. I am using Lambda python function to manipulate data. My major issue is the nested payload

Issue reading a variable JSON in Azure Data Factory

My pipeline receives the Path and the name of a JSON file. This is part of the flow that I created: The lookup step is used to read the JSON File and later I n

Value con of type java.lang.String cannot be converted to JSONObject

I just got an error at runtime. I understand the problem, but I could not fix it. This is my first time working with Volley and a MySQL database. I want to save

Multipart Form - 400 Bad Request

I'm having some trouble with a an API request I'm trying to make. Here is my POST request URL: https://platform.devtest.ringcentral.com/restapi/v1.0/account/~/e

Create a QR generator API for Ruby (2.2.2) on Rails

I have a main Ruby on Rails app, which generates links and associated PDF files. What I want is to generate a QR code for each one of the links, so I can paste

Is there a way to dynamically filter the JSON?

I am searching a way to filter the JObject according to the request from URL. Second code block works as expected and removes the "Id" column from response: My

NSwag Studio C# generated client code does not have any return types assigned

I am trying to generate some client code from a swagger.json file and the methods created by NSwag do not have any return types as you can see below: Can anyone

Why am I getting a JsonDecodingException exception in kotlinx.serialization?

I'm trying to create a custom deserializer using kotlinx.serialization but when I deerialize a JSON payload with null parameters, an exception kotlinx.serializa

iterate through complex nested json array javascript

nested json structure Json Structure: { "id": "30080", "dataelements": { "Name": "abc", }, "children": [ {

How to send an array of JSON object as a parameter value in request body ios swift

Hello I'm using Invoice generator api JSON Input https://invoice-generator.com/developers#json-input In the documentation of the API it is mentioned that the it

JQ- print specific key value pair

I have this JSON: { "time": "2022-02-28T22:00:55.196Z", "severity": "INFO", "params": [ {"key": "state", "value": "pending"}, {"key"

python -- pandas dataframe to nested json with hierarchy level

To be able to generate a checkboxes, I need to convert pandas DataFrame to a JSON format. First, I have a pandas Dataframe: cast title type Daniel Craig Sky Fa

HighCharts Dates not filling in on xAxis using JSON data feed

/* Historical Performance */ document.addEventListener('DOMContentLoaded', function() { const lineChartUrl = 'https://bfc-dashboard-api.herokuapp.com/lin

SQL Server - LEFT JOIN two JSON objects on a common property

I have a table with a column holding the schema (key, type) of a JSON object, and another table with a column holding instances of objects described by that sch