To reproduce this,
with open("file_below") as file:
content = ion.load(file)
print(content)
read file below,
{
field1:[
{
language_tag:en_US,
value:"💗This fails to parse only when the string is long enough? I don't fully understand what is going on. The field2 are impacting the parsing of this string?"
},
{
language_tag:en_US,
value:"Here is the weird apostrophe -> ’ This file can be parsed if the special characters are removed or if some of these strings are shortened or removed..."
}
],
field2:[
{
language_tag:en_US,
value:"Why does this information interfere with the field1 - I have to put words here to demonstrate the error - testtesttesttesttesttesttesttesttesttesttesttesttesttest"
},
{
language_tag:en_US,
value:"Why does this information interfere with the field1 - I have to put words here to demonstrate the error - testtesttesttesttesttesttesttesttesttesttesttesttesttest"
},
{
language_tag:en_US,
value:"Why does this information interfere with the field1 - I have to put words here to demonstrate the error - testtesttesttesttesttesttesttesttesttesttesttesttesttest"
}
]
}
it will raise something like,
To reproduce this,
read file below,
{ field1:[ { language_tag:en_US, value:"💗This fails to parse only when the string is long enough? I don't fully understand what is going on. The field2 are impacting the parsing of this string?" }, { language_tag:en_US, value:"Here is the weird apostrophe -> ’ This file can be parsed if the special characters are removed or if some of these strings are shortened or removed..." } ], field2:[ { language_tag:en_US, value:"Why does this information interfere with the field1 - I have to put words here to demonstrate the error - testtesttesttesttesttesttesttesttesttesttesttesttesttest" }, { language_tag:en_US, value:"Why does this information interfere with the field1 - I have to put words here to demonstrate the error - testtesttesttesttesttesttesttesttesttesttesttesttesttest" }, { language_tag:en_US, value:"Why does this information interfere with the field1 - I have to put words here to demonstrate the error - testtesttesttesttesttesttesttesttesttesttesttesttesttest" } ] }it will raise something like,