development tool

JSON structural difference check

Compare the fields and values of the two JSONs, and list the paths that are added, deleted and modified.

JSON structural difference check User manual

  1. Fill in the parameters or select the file according to the form, and check the unit and format first.
  2. Compare the two interface responses and locate the change field.
  3. Click the processing button to view the results, you can copy or download and save.

Calculation method and processing rules

Ignoring the order of object keys, the array is compared by subscripts to distinguish numbers, strings, booleans and nulls.

scope of use

Do not automatically pair arrays; the paths are escaped using JSON Pointer, up to 1000 differences at most. Values are compared in double precision; for large integers, please use strings.

Does the change in the order of the object keys show the difference?

No, pay more attention to the structure and values; the order of the array is meaningful, and compare by subscripts. In the path, turn to ~0, and slash to ~1, so as to avoid misreading the level when the key name contains slash.

Will the input content be saved on the server?

This tool handles input in the browser, and does not upload files or form content. Typing practice scores are only saved in the native browser.

Why may the result be different from other tools?

Do not automatically pair arrays; the paths are escaped using JSON Pointer, up to 1000 differences at most. Values are compared in double precision; for large integers, please use strings. Please compare the input unit, rounding method, applicable rules and data version first.