diff --git a/frontmatter/default_handlers.py b/frontmatter/default_handlers.py
index dc2e3aa..9c32d2d 100644
--- a/frontmatter/default_handlers.py
+++ b/frontmatter/default_handlers.py
@@ -225,8 +225,8 @@ class JSONHandler(BaseHandler):
     Note that changing ``START_DELIMITER`` or ``END_DELIMITER`` may break JSON parsing.
     """
     FM_BOUNDARY = re.compile(r'^(?:{|})$', re.MULTILINE)
-    START_DELIMITER = "{"
-    END_DELIMITER = "}"
+    START_DELIMITER = ""
+    END_DELIMITER = ""
 
     def split(self, text):
         _, fm, content = self.FM_BOUNDARY.split(text, 2)
@@ -237,6 +237,7 @@ class JSONHandler(BaseHandler):
 
     def export(self, metadata, **kwargs):
         "Turn metadata into JSON"
+        kwargs.setdefault('indent', 4)
         metadata = json.dumps(metadata, **kwargs)
         return u(metadata)
 

JSONHandler produces broken output
Exporting in JSON format gives you this:

```
{
{"test": "tester", "author": "bob", "something": "else"}
}

Title
=====

title2
------

Hello.

Just need three dashes
---

And this might break.
```

So that's unfortunate.
diff --git a/test.py b/test.py
index 26d1830..154fe6f 100644
--- a/test.py
+++ b/test.py
@@ -150,19 +150,38 @@ class HandlerTest(unittest.TestCase):
     """
     Tests for custom handlers and formatting
     """
+    TEST_FILES = {
+        'tests/hello-world.markdown': YAMLHandler, 
+        'tests/hello-json.markdown': JSONHandler,
+        'tests/hello-toml.markdown': TOMLHandler
+    }
+
+    def sanity_check(self, filename, handler_type):
+        "Ensure we can load -> dump -> load"
+        post = frontmatter.load(filename)
+
+        self.assertIsInstance(post.handler, handler_type)
+
+        # dump and reload
+        repost = frontmatter.loads(frontmatter.dumps(post))
+
+        self.assertEqual(post.metadata, repost.metadata)
+        self.assertEqual(post.content, repost.content)
+        self.assertEqual(post.handler, repost.handler)
+
     def test_detect_format(self):
         "detect format based on default handlers"
-        test_files = {
-            'tests/hello-world.markdown': YAMLHandler, 
-            'tests/hello-json.markdown': JSONHandler,
-            'tests/hello-toml.markdown': TOMLHandler
-        }
-
-        for fn, Handler in test_files.items():
-            with codecs.open(fn, 'r', 'utf-8') as f:
+
+        for filename, Handler in self.TEST_FILES.items():
+            with codecs.open(filename, 'r', 'utf-8') as f:
                 format = frontmatter.detect_format(f.read(), frontmatter.handlers)
                 self.assertIsInstance(format, Handler)
 
+    def test_sanity_all(self):
+        "Run sanity check on all handlers"
+        for filename, Handler in self.TEST_FILES.items():
+            self.sanity_check(filename, Handler)
+
     def test_no_handler(self):
         "default to YAMLHandler when no handler is attached"
         post = frontmatter.load('tests/hello-world.markdown')
@@ -217,6 +236,10 @@ class HandlerTest(unittest.TestCase):
             self.assertEqual(post[k], v)
 
 
+    def test_json_output(self):
+        "load, export, and reload"
+
+
 if __name__ == "__main__":
     doctest.testfile('README.md')
     doctest.testmod(frontmatter.default_handlers, extraglobs={'frontmatter': frontmatter})

pip install -e .
parse_log_pytest
requirements.txt
pytest
3.6
requirements.txt
pytest --no-header -rA --tb=line --color=no -p no:cacheprovider -W ignore::DeprecationWarning
attrs==22.2.0
certifi==2021.5.30
importlib-metadata==4.8.3
iniconfig==1.1.1
packaging==21.3
pluggy==1.0.0
py==1.11.0
pyparsing==3.1.4
pytest==7.0.1
-e git+https://github.com/eyeseast/python-frontmatter.git@39ac3a6852ccfd0b9c231f8e187243babc344661#egg=python_frontmatter
PyYAML==6.0.1
six==1.17.0
toml==0.10.2
tomli==1.2.3
typing_extensions==4.1.1
zipp==3.6.0

name: python-frontmatter
channels:
  - defaults
  - https://repo.anaconda.com/pkgs/main
  - https://repo.anaconda.com/pkgs/r
  - conda-forge
dependencies:
  - _libgcc_mutex=0.1=main
  - _openmp_mutex=5.1=1_gnu
  - ca-certificates=2025.2.25=h06a4308_0
  - certifi=2021.5.30=py36h06a4308_0
  - ld_impl_linux-64=2.40=h12ee557_0
  - libffi=3.3=he6710b0_2
  - libgcc-ng=11.2.0=h1234567_1
  - libgomp=11.2.0=h1234567_1
  - libstdcxx-ng=11.2.0=h1234567_1
  - ncurses=6.4=h6a678d5_0
  - openssl=1.1.1w=h7f8727e_0
  - pip=21.2.2=py36h06a4308_0
  - python=3.6.13=h12debd9_1
  - readline=8.2=h5eee18b_0
  - setuptools=58.0.4=py36h06a4308_0
  - sqlite=3.45.3=h5eee18b_0
  - tk=8.6.14=h39e8969_0
  - wheel=0.37.1=pyhd3eb1b0_0
  - xz=5.6.4=h5eee18b_1
  - zlib=1.2.13=h5eee18b_1
  - pip:
      - attrs==22.2.0
      - importlib-metadata==4.8.3
      - iniconfig==1.1.1
      - packaging==21.3
      - pluggy==1.0.0
      - py==1.11.0
      - pyparsing==3.1.4
      - pytest==7.0.1
      - pyyaml==6.0.1
      - six==1.17.0
      - toml==0.10.2
      - tomli==1.2.3
      - typing-extensions==4.1.1
      - zipp==3.6.0
prefix: /opt/conda/envs/python-frontmatter

test.py::HandlerTest::test_sanity_all
test.py::FrontmatterTest::test_all_the_tests test.py::FrontmatterTest::test_dump_to_file test.py::FrontmatterTest::test_dumping_with_custom_delimiters test.py::FrontmatterTest::test_empty_frontmatter test.py::FrontmatterTest::test_no_frontmatter test.py::FrontmatterTest::test_pretty_dumping test.py::FrontmatterTest::test_to_dict test.py::FrontmatterTest::test_to_string test.py::FrontmatterTest::test_unicode_post test.py::FrontmatterTest::test_with_crlf_string test.py::FrontmatterTest::test_with_markdown_content test.py::HandlerTest::test_custom_handler test.py::HandlerTest::test_detect_format test.py::HandlerTest::test_json test.py::HandlerTest::test_json_output test.py::HandlerTest::test_no_handler test.py::HandlerTest::test_toml
frontmatter/default_handlers.py
frontmatter/default_handlers.py