Group
Extension

Matches 2

Kelp-Module-YAML ( B/BR/BRTASTIC/Kelp-Module-YAML-2.00.tar.gz, BRTASTIC, 2024; MetaCPAN )
Kelp-Module-YAML/lib/Kelp/Module/YAML.pm ( view source; MetaCPAN )
tem * Kelp::Request

Adds C<is_yaml>, C<yaml_param> and C<yaml_content> methods, all working like
json counterparts.

=item * Kelp::Response

Adds C<yaml> method and an ability for C<render> to turn a
ntent type.

=item * Kelp::Test

Adds C<yaml_cmp> and C<yaml_content> methods, working like their json counterparts.

=back

The rest of the configuration is fed to L<YAML::PP/new>.

YAML content type
Kelp-Module-YAML ( B/BR/BRTASTIC/Kelp-Module-YAML-2.00.tar.gz, BRTASTIC, 2024; MetaCPAN )
Kelp-Module-YAML/lib/Kelp/Module/YAML/KelpExtensions.pm ( view source; MetaCPAN )
es->header('content-type'), qr/yaml/, 'Content-Type is YAML'
		or return $self;
	my $json = $self->yaml_content;
	cmp_deeply($json, $expected, $test_name) or diag explain $json;
	return $self;
}

1;


Powered by Groonga
Maintained by Kenichi Ishigaki <ishigaki@cpan.org>. If you find anything, submit it on GitHub.