1.0.9 • Published 4 years ago

json_comparision v1.0.9

Weekly downloads
1
License
ISC
Repository
-
Last release
4 years ago

This package will compare two json objects and return boolean values based on packages same are not.

Input: It will take two objects as a parameter

OutPut: boolean value

example:

const {jsonCompare} = require('json_comparision')

const obj1 = {"a":1, "b":{"c":1, "d":1 }} const obj2 = { "b":{"d":1, "c":1 }, "a":1}

jsonCompare(obj1,obj2) will return true

const {jsonCompare} = require('json_comparision')

const obj1 = {"a":1, "b":{"c":1, "d":1 }} const obj2 = { "b":{"d":2, "c":1 }, "a":1}

jsonCompare(obj1,obj2) will return false

1.0.9

4 years ago

1.0.8

4 years ago

1.0.7

4 years ago

1.0.6

4 years ago

1.0.5

4 years ago

1.0.4

4 years ago

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago