[Solved] Parsing JSON error unexpected end of JSON input

It’s normal to jump and pass parameters using JSON, but today I don’t know why I reported an error, unexpected end of JSON input,
reason
I found the answer on the Internet because there are unrecognized contents in the passed parameters, and the parameters I passed contain rich text, Therefore, there is no resolution
solution
start with JSON character parameters (parent page) on the page to jump to

issueanswer(item){
				let arrar = JSON.stringify(item)
				uni.navigateTo({
					url:"issueanswer?arr="+encodeURIComponent(arrar)
				})
			},

Then accept and parse the parameters in onload of the sub page

onLoad(option) {
			this.arr =JSON.parse(decodeURIComponent(option.arr))
		},

Read More: