With the fix done in this PR https://github.com/arshadkazmi42/json-nested-replace/pull/25 The library supports only replacing of strings value, we could add replacement of number and boolean also. In case of number and boolean, we will just overwrite the value with input value.