          assert rendered_packed == expected_packed
  
  
  class TestNestedBoundField:
      def test_nested_empty_bound_field(self):
          class Nested(serializers.Serializer):
              more_text = serializers.CharField(max_length=100)
              amount = serializers.IntegerField()
 
</s> remove         serializer = ExampleSerializer(data={'nested': {'bool_field': False, 'null_field': None}})
 </s> add         serializer = ExampleSerializer(
            data={'nested': {
                'bool_field': False, 'null_field': None,
                'json_field': {'bool_item': True, 'number': 1, 'text_item': 'text'},
                'custom_json_field': {'bool_item': True, 'number': 1, 'text_item': 'text'},
            }})
class CustomJSONField(serializers.JSONField):
    pass


          assert rendered_packed == expected_packed
  
  
class CustomJSONField(serializers.JSONField):
    pass


  class TestNestedBoundField:
      def test_nested_empty_bound_field(self):
          class Nested(serializers.Serializer):
              more_text = serializers.CharField(max_length=100)
              amount = serializers.IntegerField()
keep keep add keep keep keep keep keep
 Render JSON fields with proper indentation in browsable API forms. (#6243)

* Fix JSONBoundField usage on nested serializers (#6211)

* Unify JSONBoundField as_form_field output between py2 and py3

When using json.dumps with indenting, in python2 the default formatting
prints whitespace after commas (,) and python3 does not. This can be
unified with the separators keyword argument. 
tests/test_bound_fields.py