Varying amount of JSON parse errors when parsing the same files

Thanks for taking time to answer my question! I think we may have misunderstood each other.

Just to make sure I understand you correctly here is a more detailed explanation:
The files look like this:

{JSON}\n (1)
{JSON}\n (2)
{JSON} (3)

I want to index this as three different documents in Elastic.

  1. Do I need a multiline codec for this? (it is not one object on multiple rows)
  2. If not, what could be potential errors that cause Parse errors?

Best regards,
Mattias