# Godot: does parse_json accept multiple JSON objects?

If I had a JSON file that had multiple objects, can the method read through without some form of exception?

• Have you considered trying it? – Tyyppi_77 Jan 29 '19 at 13:29
• As Tyyppi_77 says, this is something you can answer much faster for yourself by just making a multi-object JSON file and trying to parse it. Does the data come through as expected? Or does it throw an Exception? Boom, you have your answer - no internet hearsay required. :) – DMGregory Jan 29 '19 at 13:40
• @DMGregory Alright, sorry about that. – Kennichi Nitta Jan 29 '19 at 22:01

It looks like the implementation of parse_json calls JSON::parse. JSON::parse looks like a fairly generic JSON parsing routine, but it does expect the top-level of the JSON fed to it to be a single value (since defers, once, to _parse_value).