Fix JSON validation for empty arrays
Made the getJson method rely on json_last_error() to detect valid JSON (safer)
Add tests for empty arrays
Merge pull request #25 from matts2cant/feature/json-empty-array

Fix JSON validation for empty arrays