I don’t understand this question. JSON is just text, nothing special about that. So what are you actually doing to “send a json file”? What sort of error are you seeing?
One issue could be that Panorama X will generate UTF-8 encoded text. Panorama 6 doesn’t understand UTF-8 text. So you might want to use the texttobinary( function to convert the text to MacOSRoman encoding before sending it to Panorama 6. Then use binarytotext( to convert it back when bringing it back into X. However, I wouldn’t expect errors due to encoding issues, just wrong characters for some accented characters. If you are just using letters, numbers and basic punctuation then even that won’t be a problem.