json Questions
4
Solved
I would like to translate the fields of a composite JSON object using Google Cloud Platform, instead of translating every single sentence on its own. Is it possible?
Example (from English to Itali...
Muco asked 16/7, 2018 at 13:40
5
Solved
I have this command:
aws ec2 describe-regions --output=json
the output looks like:
{
"Regions": [
{
"Endpoint": "ec2.eu-north-1.amazonaws.com",
"RegionName": "eu-north-1"
},
{
"Endpoin...
Dupuis asked 7/5, 2019 at 1:46
2
Solved
I have a source data which contains the following type of a JSON array:
[
[
"source 1",
250
],
[
"other source",
58
],
[
"more stuff",
42
],
...
]
There can be 1..N pairs of string...
Darbydarce asked 27/8, 2018 at 7:0
2
Solved
I'm trying to figure out how to make a custom run configuration in Visual Studio Code, and am not succeeding in finding any documentation describing my use case.
I want to make a Run Configuration ...
Pieper asked 23/2, 2021 at 11:44
3
Solved
I'm using yaml-cpp on a for a variety of things on my project. Now I want to write out some data as JSON. Since JSON is a subset of YAML, at least for the features I need, I understand it should be...
3
Solved
I've converted some code from vb.net to c# but it's having problems with a lambda.
error CS1977: Cannot use a lambda expression as an argument to a dynamically dispatched operation without first c...
5
I am trying to implement a JsonView to selectively serialize fields from an entity but the json that is serialized has empty objects with no fields. Below is my code:
ViewClass:
public class Audi...
1
How can I convert Codable struct to a JSON Data object and keep the order of the struct variables? I know that Dictionary is not ordered and that JSONEncoder and JSONSerialization.data accepts only...
6
Solved
I'd like to add leading/trailing zeros to strings from numbers — resultant string needs to contain "01" or "001" and not "1". I noticed project https://github.com/joel...
Drainage asked 22/11, 2020 at 18:36
5
Solved
So, I'm working with Github Actions on end-to-end testing. The setup I'm looking at is having one job retrieve a list of urls to be tested, and my second job creates a matrix with that list and tes...
Redon asked 12/7, 2022 at 13:54
1
I create a json key file for my GCP service account, since it's in JSON, it comes in this format:
{
"type": "service_account",
"project_id": "my-project",
...
Immix asked 22/4, 2022 at 17:2
5
I am trying to merge all json files in a directory (can be many).
I know that if there are only 2 files, I can use jq -s . file1.json file2.json. But when I tried to use the a wild card like jq -s ...
7
Solved
I realise this question as been asked before (What's the best practice using a settings file in Python?) but seeing as this was asked 7 years ago, I feel it is valid to discuss again seeing as ...
Fathom asked 4/4, 2018 at 5:56
1
Json.NET version 10 added support to async serialization.
Version 11 added support to generic JsonConverter<T>.
The problem is that JsonConverter<T> and previous JsonConverter only sup...
2
I migrated my angular 17 project to angular 18 and fount out that proxy.conf.json did not worked for me. What might be the problem here? Thank you in advance
"{
/api/*": {
"target&...
Adkison asked 22/7 at 12:10
7
Solved
I need to merge JSON objects with same key into one so that it gets an object or array(doesn't matter if result is an object or array) which holds the key and an array for the values
example JSON ...
Johnjohna asked 21/12, 2017 at 11:17
4
Solved
I need database connection string in two places in appsettings.json.
Is it possible to introduce common variable or json-path related references into json file to avoid potencial problems?
It wo...
Ericaericaceous asked 16/10, 2019 at 12:34
5
Solved
I have already done with java but find difficult with Kotlin.
I have already search with google but none of them work for me.
/**
* Get the json data from json file.
*
* @param context the con...
8
Solved
I have to search for a key in nested JSON by JavaScript or by jQuery. In my JSON object all the keys are unique. I tried some solutions myself but they did not work.
Here is my code:
json = {
"ap...
Incense asked 6/8, 2016 at 14:8
2
Solved
python 3.9.2-3
pandas 2.0.0
pandas-io 0.0.1
Error:
from pandas.io.json import json_normalize
ImportError: cannot import name 'json_normalize' from 'pandas.io.json' (/home/casaos/.local/lib/python...
Spoilage asked 23/4, 2023 at 6:27
3
I am new to Flutter. I am making a Network Request and I am getting the correct response, but the data is Gzipped. I have decompressed the same in Swift, but with Flutter, I am unable to do that. C...
3
Solved
I want to create a javascript object from a template. The problem is I don't know what the template is going to look like beforehand. As a simple example, if I had the template function
template =...
Gavrila asked 21/4, 2014 at 9:15
4
Solved
My question is pretty simple. how can I get the html data form the loaded page in webview. The data is in JSON format. for a reason I cannot use a post request for any get request here so I need to...
4
Solved
I have a .NET minimal API project, as described here. One of the endpoints accepts JSON in the request body, and this is deserialized automatically. The code looks something like this:
app.MapPost(...
Cockloft asked 15/9, 2023 at 7:51
7
So, I have the following json(it is an animation for Lottie). I am trying to find where the color for the animation itself sits, I cannot find it. Any help would be truly appreciated! To see the an...
Fulvia asked 17/12, 2019 at 18:48
1 Next >
© 2022 - 2024 — McMap. All rights reserved.