Category "json"

How can I add a timeslider to a leaflet map?

I have a leaflet map, exported from qgis with the qgis2web plugin. I would like to add a timeslider for this map, as every layer (representing points) has a "fr

How to access nested JSON with Jinja?

I'm learning Jinja for building a simple website. How do I access values of nested JSON in the Jinja syntax? Example: How do I only access the "Education" key i

Unnest/Unlist column with variable lengths in R

I'm trying to wrangle a json file into a data frame but I'm having trouble when unnesting to a wider format because the columns contain lists of unequal sizes.

swift error: Value of type _ has no member _

how do I fix this error? xcodes-13 This Is my code for working with api: struct everything: Codable{ let topic: String let content: String

Fetch data from database where logged in user id exist in an column that stores ids as an array Laravel 8

I want to get the rows in a database where logged in user exists. Here is my structure Table = Meetings Column = Participants (stores an array of users eg.["1",

Downloading JSON file in expressjs and reading it

I have a task where I am given a URL such as https://xyz.json. This URL prompts the downloading of the JSON file into the local. I am now required to read the u

My electron app that I packaged is not opening (I suspect it's a problem in package.json)

I can't open my electron app that I packaged , it created the folder release builds but I am not able to open the exe file it created. I suspect the problem is

Is there a way to filter with AWS SNS filter policies from the message body to SQS queues?

I have a general question about SNS filter policies. I know that the filter policies filter based on the Message Attributes. If we wanted to filter based on the

How to use "oneOf" in this schema?

I'd like to have either A or B, but not both (mutual exclusive.) I have to use whatever is avaliable in Draft 3, even though it says 4 on the top. Reason being,

I got this error in swift storyboard keyNotFound(CodingKeys(stringValue: "topic", intValue: nil), Swift.DecodingError

Error: keyNotFound(CodingKeys(stringValue: "topic", intValue: nil), Swift.DecodingError.Context(codingPath: [], debugDescription: "No value associated with key

Merging the object having array in JSONata into array of objects

I need to merge the array item to object using JSONata If my input is {"skus":[ { "a":1, "c":3, "b":["n"] }, { "a":6, "c":7, "b":[

Extract value from array in Spark

I am trying to extract a value from an array in SparkSQL, but getting the error below: Example column customer_details {"original_customer_id":"ch_382820","fi

Can a custom serializer/deserializer be a Spring bean?

I have a field in a POJO which needs to be encrypted before being serialized and, similarly, decrypted upon deserialization. The issue is that a cryptor is a Sp

How can I seperate the JSON response data to list?

Data A "data": { "authors": [ { "name": "A1", "type": "AUTHOR" }, { "name": "B1", "type": "AUTHOR" } { "name": "C1", "type":

How to use the JSON response from a Python App, To render it with Javascript on to an HTML page using Fast API? [duplicate]

I have an HTML page being rendered with FastAPI: @app.get("/index", response_class=HTMLResponse) def write_home(request: Request): return t

Unexpected token in JSON at position 0 when running npm start in React Typescript project

Whenever I try to run the 'npm start' command, I get this weird error. It was working fine a few hours ago and now it simply won't start. I've tried reinstallin

Parsing Nested JSON leads to fromJson methods having a "The class 'Data' doesn't have an unnamed constructor." error

So I am trying to parse a Nested JSON from a GET request from VirusTotal but when I create the methods to parse the JSON for what I am looking for it is giving

Rest API GET Query working fine in Browser but why is it not working in Client software?

I made my own REST API with php coding and mySQL database. There is no Authentication. Just a GET call should retrieve mySQL table rows. <?php header("Acces

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