egeloen/json-builder (packagist): JSON builder with escaping control for PHP 5.6+
Keywords: json|builder|Escape