Questions tagged [nested-json]
114 questions
-1
votes
1 answer
Parsing nested json with javascript
I have some JSON.
{
ZVH2: {
username: 'ZVH2',
ping: 0,
uuid: '3a4423c3-dce1-40c1-8333-ab2ffdfcd005',
displayName: ChatMessage {
json: [Object],
text: '',
extra: [Array],
bold: undefined,
italic:…

ZVH1
- 19
- 6
-1
votes
2 answers
Convert list with hierarchy into nested dictionary with similar hierarchy using Python
Giving the following list:
mapping_list = ['location/name', 'location/address/address1', 'location/address/zip', 'location/business/business_name', 'occupant/occupant_type']
How to turn it into a nested dictionary as following where the last value…

mongotop
- 7,114
- 14
- 51
- 76
-2
votes
1 answer
Create nested json lines from pipe delimited flat file using python
I have a text file pipe delimited as below. In that file for same ID, CODE and NUM combination we can have different INC and…

Koushik Chandra
- 1,565
- 12
- 37
- 73
-2
votes
1 answer
How parse nested json using python
We have below nested json , how to parse using python?
{
"id": "205",
"version": "205.36",
"title": "Honda Group",
"type": "object",
"description": "",
"definitions": {
"customFields": {
"properties": {
…

Amol
- 336
- 3
- 5
- 17
-2
votes
1 answer
how to render nested json data into flatlist in react native using functional component
this is the json data i am using
const RestaurantsData = [
{
"BeveragesData": [
{
id: 1,
title: 'Thick Shake Factory',
price: 210,
Image:…

ReactNative
- 11
- 5
-2
votes
1 answer
Deserialize a JSON To POJO using JSON-Java (org.json) library
I want to Deserialize the following JSON string to a POJO but I can't get a proper way of doing this with JSON-Java library (org.json).
Here is a JSON string that I want to parse:
{
"id": "0001",
"type": "donut",
"name": "Cake",
"ppu":…
-2
votes
1 answer
What is the most efficient way to display and rename only the keys from a nested JSON?
I have the following JSON structure:
I will like to display only the yellow highlighted keys, rename them and then put them in a new array.
Renamed is the name of the keys:
act = Actual
prognosis = Prog
Can you please give me an example of how I…
user10114552
-3
votes
1 answer
How to format nested JSON key structure for app settings in Linux app service?
I'm trying to set up app settings in a Linux app service, but I'm running into an issue. I've noticed that my app setting names that contain periods are being replaced by underscores. I'm also not sure how to handle nested JSON keys like…

Bertus Viljoen
- 1
- 2
-3
votes
1 answer
How to extract fields from 'Layout' JSON file of Power BI tool with Python?
I request a code modification that extracts columns from a (nested) JSON file inside a '.PBIX' file (Power BI tool) in Python. The details are below:
Original code to extract some columns written by Mr Umberto Grando:
Code on GitHub:…

Parin
- 1
- 1