Skip to content

HamzaouiDali/JsonComparator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

JsonComparator

How to use it

 import Compare

 Compare.compare {

    result  '''  { "name":"John2 ", "age":31, "city":"New York" }'''
    expectedResult '''  { "name":"John", "age":31, "city":"New York" }'''
    iGNORING_ARRAY_ORDER false
    iGNORING_EXTRA_ARRAY_ITEMS false
    iGNORING_EXTRA_FIELDS false
    iGNORING_VALUES false
   // ignoringFields "name"
    comparePlease

}

Releases

No releases published

Packages

No packages published

Languages