mohsen1/json-formatter — pull request #14 by markmarijnissen (2014-12-16 12:20:56+00:00)
Title: Bugfix - update type when updating value.

In my app a value changes from `"sample1"` to `false`.

It changes the type from `string` to `boolean`.

This caused an error:

Before: An error is thrown, because `escapeString` cannot escape a boolean (i.e. booleans don't have a `replace` function)
After: No error is thrown.