Skip to content

Commit

Permalink
removed experimental status from JSON Pointer support
Browse files Browse the repository at this point in the history
  • Loading branch information
kraih committed Jan 30, 2012
1 parent d4dd513 commit 4075c50
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 10 deletions.
1 change: 1 addition & 0 deletions Changes
Expand Up @@ -5,6 +5,7 @@ This file documents the revision history for Perl extension Mojolicious.
- Added EXPERIMENTAL drain event to Mojo::Transaction::WebSocket.
- Added EXPERIMENTAL support for RSV1-3 flags to
Mojo::Transaction::WebSocket.
- Removed experimental status from JSON Pointer support.
- Added pdf MIME type. (bfaist)
- Improved documentation.
- Improved tests.
Expand Down
3 changes: 1 addition & 2 deletions lib/Mojo/JSON/Pointer.pm
Expand Up @@ -51,8 +51,7 @@ Mojo::JSON::Pointer - JSON Pointers
=head1 DESCRIPTION
L<Mojo::JSON::Pointer> implements JSON Pointers as described in
L<http://tools.ietf.org/html/draft-pbryan-zyp-json-pointer-02>. Note that
this module is EXPERIMENTAL and might change without warning!
L<http://tools.ietf.org/html/draft-pbryan-zyp-json-pointer-02>.
=head1 METHODS
Expand Down
3 changes: 1 addition & 2 deletions lib/Mojo/Message.pm
Expand Up @@ -777,8 +777,7 @@ Alias for L<Mojo::Content/"is_multipart">.
Decode JSON message body directly using L<Mojo::JSON> if possible, returns
C<undef> otherwise. An optional JSON Pointer can be used to extract a
specific value with L<Mojo::JSON::Pointer>. Note that the JSON Pointer
argument of this method is EXPERIMENTAL and might change without warning!
specific value with L<Mojo::JSON::Pointer>.
say $message->json->{foo}->{bar}->[23];
say $message->json('/foo/bar/23');
Expand Down
9 changes: 3 additions & 6 deletions lib/Test/Mojo.pm
Expand Up @@ -595,25 +595,22 @@ Check response content for JSON data.
$t = $t->json_is('/foo/bar/1' => 2, 'right value');
Check the value extracted from JSON response using the given JSON Pointer
with L<Mojo::JSON::Pointer>. Note that this method is EXPERIMENTAL and might
change without warning!
with L<Mojo::JSON::Pointer>.
=head2 C<json_has>
$t = $t->json_has('/foo');
$t = $t->json_has('/minibar', 'has a minibar');
Check if JSON response contains a value that can be identified using the
given JSON Pointer with L<Mojo::JSON::Pointer>. Note that this method is
EXPERIMENTAL and might change without warning!
given JSON Pointer with L<Mojo::JSON::Pointer>.
=head2 C<json_hasnt>
$t = $t->json_hasnt('/foo');
$t = $t->json_hasnt('/minibar', 'no minibar');
Opposite of C<json_has>. Note that this method is EXPERIMENTAL and might
change without warning!
Opposite of C<json_has>.
=head2 C<message_is>
Expand Down

0 comments on commit 4075c50

Please sign in to comment.