Skip to main content
The 2024 Developer Survey results are live! See the results

All Questions

Tagged with
-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", &...
BNC's user avatar
  • 1
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....
tomka's user avatar
  • 1,295
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 ...
Łukasz's user avatar
-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, ...
David Marciel's user avatar
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 ...
Sam Staples's user avatar
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 ...
Dodly Game's user avatar
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 ...
Jason_Day's user avatar
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 ...
Anton's user avatar
  • 3
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 ...
Andrew Luhring's user avatar
-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 ...
Tommy's user avatar
  • 31
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": "...
ARR's user avatar
  • 35
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": "...
Robin Rounthwaite's user avatar
-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.
palmasd1's user avatar
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', '...
ViktorAlexiev's user avatar
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 ...
Luc Desaulniers's user avatar

15 30 50 per page
1
2 3 4 5
579