night!
I need your help on the following question: I have 2 .json files, but when I open it in Notepad ++ I realize that the content is disorganized.
Example:
File1.json
{
"xxx.yyy.E-mail": "E-mail",
"xxx.yyy.Senha": "Senha",
"xxx.yyy.Voltar": "Volver",
"xxx.yyy.Enviar": "Enviar",
"xxx.yyy.Sair" : "Sair",
}
File2.json
{
"xxx.yyy.E-mail": "E-mail",
"xxx.yyy.Voltar": "Volver",
"xxx.yyy.Senha": "Senha",
"xxx.yyy.Sair" : "Sair",
"xxx.yyy.Enviar": "Enviar",
}
If you observe the order is different! I need to sort the 2.json file so that it is in the same order as File1.json, this taking into account that the files contain more than 3000 lines when opening in notepadd ++.
Is there any way to sort the json content? I need to organize and then compare the contents line by line. Thanks in advance!!!