Invoke passes in object, and the front end will automatically parse it. If it is a map, the front end js will get the json object; Your question is rather vague, you can describe the usage scenario in detail. JSCallback itself is a callback tool, why serialize it?
JSCallback throws the result into the callback function, and this result can be inserted through JSCallback's invoke. For example:
Invoke passes in object, and the front end will automatically parse it. If it is a map, the front end js will get the json object;
Your question is rather vague, you can describe the usage scenario in detail. JSCallback itself is a callback tool, why serialize it?