bst365体育投注网址大全

Questions tagged [json]

JSON (JavaScript Object Notation) is a textual data interchange format and language-independent. Use this tag when this text format is involved. DO NOT USE THIS TAG FOR NATIVE JAVASCRIPT OBJECTS OR JAVASCRIPT OBJECT LITERALS. Before you ask a question, validate your JSON using a JSON validator such as JSONLint (https://jsonlint.com).

Filter by
Sorted by
Tagged with
0
votes
0answers
3 views

How to handle null values in json response in Go using json.NewDecoder

This is my struct: type Media struct { MediaID string `json:"media_id"` MediaType float64 `json:"media_type"` ViewCount float64 `json:"view_count"` } ...
0
votes
1answer
10 views

How to read json from google drive with rest api

I have created some Json file that contains shop's objects and i want to store it on Google drive and read it with Retrofit. Currently, I can't store it in local memory or in-app. Also, there is no ...
0
votes
0answers
9 views

Loading json file from webpage throws jsondecode error

I am trying to extract a json file from a webpage but it is throwing an error, how do I fix it? from urllib.request import Request, urlopen from bs4 import BeautifulSoup import json import time from ...
0
votes
0answers
21 views

api call in python not able to return json properly

Trying to hit one api and write the output to json file, but i am getting some error related to json decode, but when i manully login into that portal, i am able to login and see values What i tried: ...
0
votes
0answers
11 views

Unable to use “default” in JSON Schema

I want to use "default": "primaryColors" but for some reason the dropdown displays it based on their orders, rather than using default to primaryColors. It is currently displaying ...
0
votes
0answers
7 views

Can you and store a dataset, and keep the current active item from it with react context

So I have a dataset of movies (JSON file) and want to convert them to cards, below the stack of cards I want a few buttons that can perform functions on the currently active card (tinder-like design). ...
0
votes
1answer
25 views

Getter Setter with Java Custom type List Collections

Since I am newbie to java and I have below query, on List Collection. Getter Setter Class: public Person { private String name; private int age; public Person(String name, int age) { this.name =...
0
votes
0answers
10 views

Title displayed 2 times in fullcalendar

My title is displayed 2 times on fullcalendar, I don't know why, the script looks fine and all are working. I'm leaving my script here. <script> document.addEventListener('DOMContentLoaded', ...
0
votes
1answer
30 views

Getting a Python Object from JSON

What is the best way to get a Python Object (with custom objects as attributes) from JSON? I'm using a JSON object as configuration, like this: conf = { [ { 'column_name': '...
0
votes
0answers
13 views

How to store json fetched data in firestore database in flutter?

I using the below code is being successfully implemented to fetch the nested element i.e. firstName of the JsonObject in flutter, All I want to do is that to allocate the fetched JsonData to the ...
0
votes
2answers
27 views

In Java, how do I mask values of all the matching keys of a JSON, when the structure of JSON isn't same?

I'm looking for a way to hide/mask the sensitive details of JSON output coming from a response, like account number. All the answers I got over the web requires me to know the JSON structure before ...
0
votes
0answers
23 views

Converting JSON to CSV with selected columns only

I have a JSON with me like this: [ { "customUniqueKey": "123-abc", "status": "Closed", "description": "I am ticket-1", &...
0
votes
0answers
10 views

Why does Knex (PostgreSQL) query always return empty object while query by email retrieved from JSON POST request?

server side code for sign in response I am trying to build my first react app. In the front end, to sign/log in, when a registered user submits his/her email and correct password, in my server side ...
0
votes
1answer
32 views

Gson fromJson returning null data

I'm having a null return using Gson.fromJson() and I don't understand why. I'm calling an API that returns some data with this format: { "RealisedItems":{ "realisedItem":[ ...
1
vote
0answers
9 views

org.mapdb.DBException$SerializationError when storing JSONArray in MapDB using ELSA Serialization

I have a class that store a Long value and JSONArray. Class SomeClass { private Long longValue; private JSONArray jsonArray; //Default and parameterised constructors. //Getters and ...

15 30 50 per page
1
2 3 4 5
19761