To be used for "JSON Flattener" java utility available at https://github.com/wnameless/json-flattener
Questions tagged [json-flattener]
38 questions
0
votes
0 answers
Unloading from tables with data transformation using Spring Batch
I want to do a dump from tables using Spring Batch. I need to dump data from the customer input table to the customer_data output table. The customer table has a data column of type String (jsonb).
I need to get json from the data column and convert…

pickstar
- 21
- 5
0
votes
1 answer
querying/parsing nested JSON in snowflake
I have a table that stores files like the following in each row and I want to be able to parse/flatten this file - the problem is that for the nested files ( history, dealer, vehicle) I am receiving NULL when I am using lateral flatten comment. Can…

Azar
- 55
- 5
0
votes
0 answers
Flatten a list of nested dictionaries into a table
I have a list of dict like the one below
[
{
'profile':
'{"101":{"updatedBy":"user1","updatedOn":"2020-04-02","justification":"Tier 1 user"}}'
},
{
'profile':
…

Lisa Mathew
- 305
- 4
- 18
0
votes
1 answer
Flattening Express data to JSON string in Labview
I am working on Labview. I want to flatten the Express data type coming out from my DAQ-Assistent into JSON string. I am using JKI JSON but it is showing an error of unsupported data type: Expressdata. Are there any suggestions?

M.KD
- 81
- 9
0
votes
1 answer
flatten_json recursive flattening function for lists
I want to flatten the following JSON at each level and create a pandas dataframe per level, Im using flatten_json to do that but for that I need to loop through each level which creates multiple nested for loops:
{
"metadata": {
"name": "abc",
…

NYC Coder
- 7,424
- 2
- 11
- 24
0
votes
0 answers
How to get index from a key when using JsonFlattener.flattenAsMap?
Keys from Map are printed as [index].keyname. How to get the index value from keys?
Code:
Map flattenedJsonMap = JsonFlattener.flattenAsMap(response.readEntity(String.class));
Map keysMap = new…

Suren Konathala
- 3,497
- 5
- 43
- 73
-1
votes
1 answer
flattening json to csv with jqplay
I'm trying to flatten a json file to .csv. I'd like to use jqplay for this in stead of programming it in python for example.
The example below is een array that als contains arrays.
My desired output is one line entry on the 2nd array:
so
OPEN,…

GertVdW
- 3
- 3
-1
votes
2 answers
Java remove "parent":"somevalue" from flattened json if “parent”:“somevalue” and there also exists a “parent.new”: “somevalue” in same json
I Have json like this :
{
"lastModifiedBy" :"value",
"lastModifiedBy.$oid": "1234567189",
"displayedBy" : 0,
"displayedBy.one" : "Abhi",
"displayedBy.one.new" : "Sammy",
"displayedBy.two":"random_value3",
"a.b":null,
"b.c":null,
"d.e.f":null
}
I…

user12910640
- 89
- 3