All Questions
8,679
questions
-1
votes
0
answers
23
views
How to convert JSON Object to Javascript Object? [closed]
I need to Convert JSON Object to Javascript Object , I created a promise and returned the res
The output in browser is like
{
"students": [
{ "name": "Ahmed", &...
0
votes
0
answers
39
views
Serde doesn't see untagged enum variant in input ("data did not match any variant of untagged ...") [duplicate]
Using Serde, I want to parse JSON data like this:
{
"data_type": "uint8",
"scales": [{
"encoding": "jpeg",
"key": "4.0x4....
0
votes
3
answers
69
views
Python Pandas extract csv column containing json
I want to learn Pandas framework, so I find free csv with Euro data from kaggle.com
https://www.kaggle.com/datasets/piterfm/football-soccer-uefa-euro-1960-2024/data
But there're plenty of columns ...
-1
votes
2
answers
38
views
JQ extract parent folder
I have an s3 route and I have to split it in bucket, prefix and key using JQ.
"s3://bucket/folder1/folder2/folder3/key.txt" ->
{
bucket: bucket,
prefix: folder1/folder2/folder3,
...
0
votes
1
answer
38
views
How to parse JSON from an API in SwiftUI, where the response is not an Array, asynchronously?
I am attempting to parse JSON from an API in SwiftUI where the response is not an Array, this seems to be the only way I can find online, from my searches.
An example of the response data is as ...
1
vote
1
answer
51
views
How to parse a matrix of interface objects using JSON?
I have an Item interface that is used to create and store game items. These items are stored in the player's inventory in the form of a matrix (IItem[][] inventory). When trying to implement the read ...
0
votes
0
answers
41
views
ERROR Error saving data [TRPCClientError: JSON Parse error: Unexpected character: B]
I have an App that im creating that takes the user through a onboarding process for their user details.
I have two screens where it is triggered. One on a screen where the user is checking to see if ...
0
votes
2
answers
88
views
cannot use operator[] with a string argument with array (parsing json)
I decided to write a tg bot for weather forecast on c++, and when I need to parse a string in json, always get errors (with numbers works), a lot of googling and found nothing. Please help me, I just ...
3
votes
1
answer
93
views
How to parse complicated JSON data in rust correctly?
I'm writing my own Magic the gathering implementation in rust as an exercise in (futility and) learning the language and I'm trying to parse the json data into data structures using serde and ...
-1
votes
0
answers
69
views
Fluentbit Parse Log Json
I still newbie in fluentbit and confuse parsing java.
So I created fluentbit using helm and created a filter to parse java logs in json form. I tried to use nginx and using nginx parse worked but I ...
0
votes
1
answer
50
views
How to create a custom type to parse [u8;32] from a json that contains a hex string in Rust
Given the next json:
[
{
"dataValueArray": ["0xa4bfa0908dc7b06d98da4309f859023d6947561bc19bc00d77f763dea1a0b9f5"],
"dataValue": "...
0
votes
1
answer
40
views
Map on conditional produces jq: error Cannot iterate over null (null)
I want to get the minimum value of each nested refpos that's associated with GRCH38.
An example .refpos looks like this :
[
{
"name": "...
-2
votes
0
answers
44
views
How to parse Nginx config files via Shell tools?
Are there Bash scripts allow to parse Nginx config files?
e.g script to get all includes directives from config file.
I've seen software allows to transform .conf to .json but it uses no-shell tools.
0
votes
1
answer
52
views
Trying to pase a string in javascript
I have this string, which is basically is an array of json objects, but it is a string
"[{'RK': 1, 'RN': 'CB6402AT', 'Marka': 'Zeleno', 'Model': 'Suzuki', 'G_PR': 1997, 'KM': 10000, 'Kupe': 'A', '...
0
votes
0
answers
52
views
Getting _jsonparsefailure in Logstash for a valid JSON structure
I am facing a bit of a pickle in regards to the Logstash JSON filter.
Our Opensearch stack is receiving some logs already parsed in a JSON format from FluentBit producers. However some fields seem for ...