Sellami - 2012-08-14

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