Removes JSON-escaping if necessary in a JSON string

assert "\\\"string\\uD83D\\uDE02\\\"".unescape_json == "\"string😂\""

Property definitions

json :: static $ Text :: unescape_json
	# Removes JSON-escaping if necessary in a JSON string
	#
	#     assert "\\\"string\\uD83D\\uDE02\\\"".unescape_json == "\"string😂\""
	fun unescape_json: Text do
		if not json_need_escape then return self
		return self.json_to_nit_string
	end
lib/json/static.nit:30,2--36,4