Skip to content

Commit

Permalink
updated documentation with exampels
Browse files Browse the repository at this point in the history
  • Loading branch information
talaatmagdyx committed May 25, 2024
1 parent c908a32 commit 1408fb5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ $ curl -s https://api.restful-api.dev/objects | prettify_json -

```sh
$ prettify_json -f sample.json

{
"name": "John Doe",
"age": 30,
Expand All @@ -83,6 +84,7 @@ $ prettify_json -f sample.json

```sh
$ prettify_json -s '{"name": "John Doe", "age": 30, "city": "New York"}'

{
"name": "John Doe",
"age": 30,
Expand All @@ -94,6 +96,7 @@ $ prettify_json -s '{"name": "John Doe", "age": 30, "city": "New York"}'

```sh
$ curl -s https://api.restful-api.dev/objects | prettify_json -

[
{
"id": 1,
Expand Down

0 comments on commit 1408fb5

Please sign in to comment.