Monday, 13 March 2017

JSON Order MixedUp

My application generates a JSON file. When there is an update, the generated JSON file gets updated. The order gets mixed up. When I see the diff even though the files are not much changed, the diff shows as if there is a huge changes because the file contents are rearranged (mixed up). Is there any way I can have the same order of file contents so that my diff looks clean.



via magi

No comments:

Post a Comment