Skip to content

Commit 6e04db1

Browse files
committed
Updated README for JSON-P.
1 parent e2b72ed commit 6e04db1

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

README.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ In this video we are showing how to use JSON-B for easy data binding.
1919

2020
| Method | URI | Status | Description |
2121
|--------|-----|--------|-------------|
22-
| GET | /api/json-b/ | 200 | Marhsall JSON-B annotated POJO |
23-
| POST | /api/json-b/ | 204 | Unmarshall JSON-B annotated POJO |
22+
| GET | /api/json-b/ | 200 | Marshall JSON-B annotated POJO |
23+
| POST | /api/json-b/ | 204 | Unmarshall and update JSON-B annotated POJO |
2424
| GET | /api/json-b/custom | 200 | Marshall custom POJO using Jsonb |
2525
| POST | /api/json-b/custom | 204 | Unmarshall custom POJO using Jsonb |
2626

@@ -30,7 +30,9 @@ In this video we are showing how to use JSON-P for flexible JSON processing.
3030

3131
| Method | URI | Status | Description |
3232
|--------|-----|--------|-------------|
33-
| GET | /api/json-p/ | 200 | |
33+
| GET | /api/json-p/ | 200 | Marshall a JsonArray of JsonObject using JSON-P |
34+
| POST | /api/json-p/ | 204 | Unmarshall and Update a JsonArray of JsonObject using JSON-P |
35+
| PATCH | /api/json-p/ | 204 | Patch a JsonArray of JsonObject using JSON-P Pointer |
3436

3537
### Video 2.4: Implementing hypermedia-driven REST APIs
3638

0 commit comments

Comments
 (0)