Update src/json.class.php

When you will pass NULL value, it's just sets nothing.