In package com.eden.orchid.api.resources.resource

class com.eden.orchid.api.resources.resource.JsonResource

A Resource type that provides a JSON data as content to a template. When used with renderTemplate() or renderString(), this resource will supply additional data to the template renderer. When used with renderRaw(), the raw JSON-encoded data will be written directly instead.


public <init>(JSONElement, com.eden.orchid.api.theme.pages.OrchidReference)