&& clipboardContent.containsText()) {
String json = null;
JSONSerializer jsonSerializer = new JSONSerializer();
try {
json = clipboardContent.getText();
setValue(jsonSerializer.readObject(new StringReader(json)));
} catch (IOException exception) {
Prompt.prompt(exception.getMessage(), window);
} catch(SerializationException exception) {
String message = "Serialization exception at line "
+ jsonSerializer.getLineNumber() + ": "