• seahorse [Ohio]A
    link
    21 year ago

    Interesting. I had the pleasure of comparing very large, complex JSON files when I was a NASA contractor. I ended up writing a somewhat custom JSON crawler using Node JS that would first parse the entire ~500 MB json files into JS objects, and then using asynchronous programming it would “crawl” through the objects and compare each and every value for every property or array index and writing out differences to a text file that included the actual path to the value, so you’d get something like “object.array1[4].velocity”, but waaay longer of a path than that a lot of the time.