NAME

Developer::Dashboard::PageDocument - common page model for Developer Dashboard

SYNOPSIS

my $page = Developer::Dashboard::PageDocument->from_instruction($text);
print $page->canonical_instruction;

DESCRIPTION

This module represents the common internal page model used by saved pages, transient encoded pages, and provider-generated pages.

METHODS

new, from_hash, from_json, from_instruction, merge_state, with_mode, as_hash, canonical_json, canonical_instruction, instruction_text, render_html

Construct, mutate, serialize, and render page documents.