mercredi 4 juillet 2018

Detect repetitions within a JSON file

I have a HTTP router configuration file that is defined in a big JSON file. The file contains hundred of rules.

In some cases rules are repeated and could refactored in a common rule.

How to detect in this JSON repetition of JSON fragment? I would like to have a tool to detect exact repetition and "near" JSON fragments.

Aucun commentaire:

Enregistrer un commentaire