document inputResult of the validation can be found in the validation attribute.
	# Validate the `document` input
	#
	# Result of the validation can be found in the `validation` attribute.
	fun validate(document: String): Bool do
		validation = new ValidationResult
		return true
	end
					lib/popcorn/pop_validation.nit:84,2--90,4
				
	redef fun validate(document) do
		super
		var json = document.parse_json
		if json == null then
			validation.add_error("document", "Expected JsonObject got `null`")
			return false
		end
		return validate_json(json)
	end
					lib/popcorn/pop_validation.nit:186,2--194,4
				
	redef fun validate(document) do
		super
		var json = document.parse_json
		if json == null then
			validation.add_error("document", "Expected JsonArray got `null`")
			return false
		end
		return validate_json(json)
	end
					lib/popcorn/pop_validation.nit:238,2--246,4