JSON data (special characters errors)

I have found an issue where a special character (in this instance its a “л” within a url) in a JSON value stops Sketch from populating any groups or symbols.
JSON will populate all required layers until it reaches this character then stops applying data.

example: This special character was on the 7th object in the JSON file therefore Sketch would only populate the first 6. I then moved this special character to the 12th object and Sketch would populate the first 11, etc

I am using a third party data populator for the JSON

using Sketch 100.2
on MacOS 12.7.5

Could be a JSON format issue, could be the plugin but worth noting.
happy to share sample Sketch file and the JSON file

2 Likes

Hey Mark,

Thank you for the report. We’ll file this one right up and share with the team! (if you can share with us the sample Document and JSON file wit us via productuspport@sketch.com).

:pray:

1 Like

Ill send it over later tonight Raul. Thank you.

Thank you! We got the files and we’ll be filling soon! :rocket:

As soon as I have an update, I’ll report back on this thread :white_check_mark:

1 Like

Update

There seems to be an issue with how older versions of macOS render special characters within JSON files. From our testing, and some troubleshooting with Mark, we’ve found:

  • The issue seems to be present in any macOS version prior to Sonoma
  • We’ve done internal testing and our team could replicate with any version of the plugin and the mac app in macOS Monterrey and macOS Ventura.
  • Seems like the only way to fix the issue would be to request the plugin developers to update their plugin (and how it parses specials characters) OR;
  • Update to a newer version of macOS which has the fix at the OS level.

We’ll keep on digging, and see if we can find a better workaround. If we do, we’ll share the update here as well! :pray:

1 Like

Thanks Raul. Excellent work. I will reach out the data populator team and see if they have the resource to update their plugin.