I'm a begginer with json-lib. In my work I want to devide the JSON file into two subfiles. I Explain what is my purpose:
This is the Json file (the input):
{
'foo':'bar',
'coolness':2.0,
'altitude':39000, 'pilot':{
'firstName':'Buzz',
'lastName':'Aldrin'
},
'mission':'apollo 11'
}
In my work I want to create two files: the first one contains just : 'breakpont':{
'firstName':'Buzz',
'lastName':'Aldrin'
}
Whereas the second consists on : {
'foo':'bar',
'coolness':2.0,
'altitude':39000,
'pilot':'breakpont',
'mission':'apollo 11'
}
Could you help please in resolving my problem?
Thank you in advance
Best regards
R.S
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Dear all,
I'm a begginer with json-lib. In my work I want to devide the JSON file into two subfiles. I Explain what is my purpose:
This is the Json file (the input):
{
'foo':'bar',
'coolness':2.0,
'altitude':39000,
'pilot':{
'firstName':'Buzz',
'lastName':'Aldrin'
},
'mission':'apollo 11'
}
In my work I want to create two files: the first one contains just :
'breakpont':{
'firstName':'Buzz',
'lastName':'Aldrin'
}
Whereas the second consists on :
{
'foo':'bar',
'coolness':2.0,
'altitude':39000,
'pilot':'breakpont',
'mission':'apollo 11'
}
Could you help please in resolving my problem?
Thank you in advance
Best regards
R.S